I have a List of Objects,
var distinctList = someList.DistinctBy(x => x.Prop2).ToList();
Need to get distinct list without using distinct.
I have a List of Objects,
var distinctList = someList.DistinctBy(x => x.Prop2).ToList();
Need to get distinct list without using distinct.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sachin SinghPosted Aug 7, 2021, 11:04 AM
Madan ShekarPosted Aug 7, 2021, 8:20 AM
Basem AlshabaniPosted Aug 7, 2021, 8:19 AM
Priyanka K SPosted Aug 7, 2021, 8:19 AM