如何获得List<int>集合中,最大的那个数
List<int> nums = new List<int>{1,2,3,4,5,6,7,8,9,10};
var result = nums.Where(p=>Max(p));
foreach(int i in result)
{
Response.Write("最大值为:"+i.ToString());
}
http://topic.csdn.net/u/20110706/22/d1a08c8e-7f74-45dc-952a-6c617e5a6797.html