Answers for "c# linq distinct by object property"

C#
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
1

c# distinct by property

objList.Select(o=>o.typeId).Distinct()
Posted by: Guest on May-11-2021

C# Answers by Framework

Browse Popular Code Answers by Language