var name= listObject
.Select(e => new { e.EmployeeId, e.EmployeeName})
.Distinct()
.OrderByDescending(e => e.EmployeeName)
.ToArray();
.Select(e => new { e.EmployeeId, e.EmployeeName})
.Distinct()
.OrderByDescending(e => e.EmployeeName)
.ToArray();
No comments:
Post a Comment