4
如何將以下LINQ語句轉換爲OrderByAscending而不是OrderByDescending?有一些原因沒有OrderByAscending:LINQ OrderByDescending爲OrderByAscending?
var unProfParameterSets = RawAARdDDArray1
.Select((value, index) => new { value, index })
.OrderByDescending(item => item.value)
.Take(unProfParams)
.Select(item => RawParamSet[item.index])
.ToArray();
謝謝!
這工作的感謝! – user1035217 2012-02-17 06:42:58