Assuming that both ways of sorting take equal time (and that's a big 'if'), then the first method would have the extra cost of doing a .Last()
, potentially requiring a full enumeration.
And that argument probably holds even stronger for an SQL oriented LINQ.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…