Check out example codes for "select distinct two columns entity framework c#". It will help you in understanding the concepts better.
Code Example 1
var data = TESTDB.Where(i => i.ALPHA == 1).Select(i => new {i.A, i.B, i.C}).Distinct();
Learn ReactJs, React Native from akashmittal.com