Tag Archives: Lambda Expressions

How Can I Use a LINQ Lambda Expression With Distinct()?

Contrary to what most of other LINQ extension methods provide when dealing with collections of objects, the Distinct() method takes in an object of a class that implements IEqualityComparer<T> interface. When selecting distinct objects, you probably are thinking about having … Read More »»»

Posted in C#, LINQ | Tagged , , , , , , | Leave a comment

What is Lambda Expressions? Basics Explained.

You keep wondering what it is and it may scare you at first. It is quite simple, in fact, just another thing to understand. Lambda expressions can certainly be complex, but, start with a simple q => q.A == a; … Read More »»»

Posted in Basics | Tagged , , , , , , | Leave a comment