Answers for "count and distinct linq"

C#
1

linq unique count property

data.Select(x => x.Id).Distinct().Count();
Posted by: Guest on May-18-2021
1

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

Code answers related to "count and distinct linq"

C# Answers by Framework

Browse Popular Code Answers by Language