in reply to Re^2: Spoiled by Perl
in thread Spoiled by Perl
Nice. Complete version:
var sorted = someList.OrderBy( _ => _.Foo ).ThenBy( _ => _.Bar );
I think the above is produced by the following:
var sorted = from item in someList orderby item.Foo, item.Bar select item;
|
---|