Peeking into LINQ DistinctBy source code

from blog Just Some Code, | ↗ original
“Don’t use libraries you can’t read their source code.” That’s a bold statement I found and shared in a past Monday Links episode. Inspired by that, let’s see what’s inside the new LINQ DistinctyBy method. What DistinctBy does DistinctBy returns the objects containing unique values based on one of their properties. It works on collections of...