خرید بک لینک

Vote count: 0

Say I have a List<Number>

5,8,8,7,4,9,9,9

I want to select all the numbers with the highest value, Thus, my new list would contain: 9,9,9

I know I need to do something like list.Where(n => n.Value == highestValue);

But is there a compact way to get the highest value?

asked 53 secs ago

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 8 ارديبهشت 1395 ساعت: 3:23

صفحه بندی