日期:2014-05-18 浏览次数:20504 次
List<int> lst = new List<int>();
lst.Add(86);
lst.Add(150);
lst.Add(280);
lst.Add(20);
lst.Sort();
int intF = 1;
for (int i = lst.Count - 1; i >= 0; i--)
{
if (lst[i] > 100)
{
intF++;
}
else
{
break;
}
}
------解决方案--------------------
哈哈,vrhero比较直,不过我喜欢!
楼主连测都没测就敢说不对,你可知道这星星可不是吹出来的啊!
------解决方案--------------------
楼主别生气,慢慢来啊,vrhero可能太急了点。总之为你好吧。