Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List<int>[] lists = ....
- var firstItems = lists.Select(lst => lst[0]);
- var max = firstItems.Max();
- var max = lists.Select(lst => lst[0]).Max();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement