C# linq sort - quick way of instantiating IComparer

Viewed 26907

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?

5 Answers
Related