Answers for "linq query for getting distinct values from table in c#"

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

Code answers related to "linq query for getting distinct values from table in c#"

C# Answers by Framework

Browse Popular Code Answers by Language