C# linq sort - quick way of instantiating IComparer
c#, linq
Solution
That's one of the uses of lambda expressions:
`c.Sort( (x,y) => x.A.CompareTo(y.A))`
Problem
When using linq and you have ``` c.Sort() ``` Is there any good inline way of defining a `Comparison` and/or `IComparer` class without actually having to create a separate class?