Tuğbay Atilla - CoreNX
This blog is created to be able to help software developers searching specific information.
Tuesday, July 1, 2014
linq max count of list
var max = data.Max(p => p.SubList.Count);
var maxData = data.FirstOrDefault(p => p.SubList.Count == max);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment