Hallo,
Hat jemand eine Idee, wie ich ein Array der wie folgt definiert wurde:
object [,] dataObj;
DataObj = new object[5,3];
q w 2
w z 5
w z 4
m d 2
q w 4
performant gruppieren und summieren kann, so dass ich als Ergebnis
q w 6
w z 9
m d 2
bekomme?
Grüsse
Mark
Göran Andersson - 04 Jul 2007 14:36 GMT
> Hallo,
>
[quoted text clipped - 18 lines]
> Grüsse
> Mark
Create a key from the two first values and use that to put the third
value in a dictionary. If the key already exists in the dictionary, add
the value instead.

Signature
Göran Andersson
_____
http://www.guffa.com