Answers for "c# linq group by data with distinct"

C#
2

how to use distinct in linq query in c#

var distValues = objList.Select(o=>o.typeId).Distinct().ToList();
Posted by: Guest on February-04-2021
0

group by unique c#

entParameters.GroupBy(x => x.Name).Select(x => x.First()).ToList();
Posted by: Guest on November-29-2021

C# Answers by Framework

Browse Popular Code Answers by Language