This project has moved. For the latest updates, please go here.

Comparers for anonymous types

Jun 19, 2013 at 2:22 AM
Do you think it would be useful to have some kind of static create function for inferring the type when you don't know it? For anonymous types for example. I'm thinking something along the lines of:
Comparer.CreateFor(variableOfUnknownType).OrderBy(...)
or even
Comparer.CreateForElements(enumerableOfVariableOfUnknownType).OrderBy(...)
Coordinator
Jun 19, 2013 at 4:27 AM
I think that's a great idea! Thanks!

-Steve
Coordinator
Jun 19, 2013 at 4:27 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.