c# list grouping

83

c# list grouping -

var groupedCustomerList = userList
    .GroupBy(u => u.GroupID)
    .Select(grp => grp.ToList())
    .ToList();

Comments

Submit
0 Comments