I\'m trying out some LINQ expressions and can\'t get them to work with the List class. Basically I want to be able to sort a list of custom objects by property type, however t
Dim asc = From f In l Order By f.Position Dim desc = From f In l Order By f.Position Descending
I used c# to VB converter..
Dim sortedasc = l.OrderBy(Function(k) k.Position) Dim sorteddesc = l.OrderByDescending(Function(k) k.Position)
this should work..