Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var dup = EntLstServicios
- .GroupBy(x => new { x.ServicioId })
- .Select(group => new { Name = group.Key, Count = group.Count() })
- .OrderByDescending(x => x.Count);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement