Ramco Ramco

Ramco Ramco

  • 442
  • 3.4k
  • 517.4k

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)