Ramco Ramco

Ramco Ramco

  • 440
  • 3.4k
  • 529.2k

How to loop

Jun 13 2023 11:10 AM

Hi

  How to loop thru groupeditems

var groupedItems = objGroup.GroupBy(g => g.GroupName.Split('(')[0].Trim())
                    .Select(g => string.Join(" , ", g.Select(item => item.GroupName)));

Thanks


Answers (2)