I have a DataTable with a Name column. I want to generate a collection of the unique names ordered alphabetically. The following query ignores the
To make it more readable and maintainable, you can also split it up into multiple LINQ statements.
x1, do a projection if desiredx1 into x2, using whatever distinction you requirex2 into x3, sorting by whatever you desire