Category Archives: Basics

How to Get Distinct Values From a LINQ Query

Ever wondered how to get a distinct value set from a LINQ query? Maybe you got that query from a database: var q = dataSet.Tables[0].AsEnumerable(); Or maybe it’s a query on a LINQ query: var q = from oq in … Read More »»»

Posted in Basics | 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