Groupby and add items to a list
Posted on 2008-10-18
I am writing a C# program and in that I have a List<category> which I have defined. I am doing a group by on the items. My question is, how do I put these elements into the same List or even a different List? Do I need to use IEnumerator? If yes, then how do I do so?
Any help is greatly appreciated!