Distinct not working in Linq-to-Objects

   I was developing a project that I have and came to the point where I needed to find only the distinct elements of a specific IEnumerable, and that’s when I looked a bit closely to the Distinct Extension Method for IEnumerable, so ok, let me use it, this is just what I need so this should be fairly simple (This was my first mistake. Thinking something should be simple. Shame on me. ).   Ok, so the Distinct Extension Method has only two overloads that are: – One that takes no parameters: public static IEnumerable<TSource> Distinct<TSource>(this IEnumerable<TSource> source);.csharpcode, .csharpcode … Continue reading Distinct not working in Linq-to-Objects