i have a C# application in which i\'d like to get from a List of Project objects , another List which contains distinct objects.
List
i trie
var newList = ( from x in model select new {Id_user= x.Id_user} ).Distinct();
or you can write like this
var list1 = model.DistinctBy(x=> x.Id_user);