Hi,
I have a collection of objects as Dim XXX As IEnumerable(Of MyObject)
which has been populated. There is a property in MyObject that I want to group by, for example MyObject.MyCode.
Looking through the LINQ examples it is not clear what the Group XX By INTO
syntax is doing and I can't understand it.
So what I'm after is the ability to group by the value of MyCode and see how many of each value I have in XXX.
I know I've not explained it well, but hopefully a LINQ person will get it.
Thanks
Ryan