Hi,
I have a generic List (i.e. List<Subjects>). Which can contain list of categories and their subjects. But i need to retrieve only unique category names and their list of subjects. Usually, it returns like this...
Cat1 Sub1
Cat1 Sub2
Cat2 Sub3
Cat2 Sub4
I don't need like this. The list should contain only...
Cat1 Sub1, Sub2
Cat2 Sub3, Sub4
NaveenKumar