I have a collection of MyClass that I\'d like to query using LINQ to get distinct values, and get back a Dictionary as the result, but I can\'t figure out
Look at the ToLookup and/or ToDictionary extension methods.
ToLookup
ToDictionary