Click here to Skip to main content
14,634,072 members
Articles » Platforms, Frameworks & Libraries » LINQ » General » Statistics

Dynamically Build LINQ Expressions

Rate this:
4.97 (23 votes)
Please Sign up or sign in to vote.
4.97 (23 votes)
3 Jun 2020CPOL
A primer on using LINQ to wring strongly typed queries directly in code
LINQ stands for Language Integrated Query. It provides a consistent strongly typed mechanism for querying data across various sources. LINQ is based on expressions. This article explores LINQ and underlying expressions by building a custom expression tree in a reference application.



This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Jeremy Likness
Program Manager Microsoft
United States United States
Note: articles posted here are independently written and do not represent endorsements nor reflect the views of my employer.

I am a Program Manager for .NET Data at Microsoft. I have been building enterprise software with a focus on line of business web applications for more than two decades. I'm the author of several (now historical) technical books including Designing Silverlight Business Applications and Programming the Windows Runtime by Example. I use the Silverlight book everyday! It props up my monitor to the correct ergonomic height. I have delivered hundreds of technical presentations in dozens of countries around the world and love mentoring other developers. I am co-host of the Microsoft Channel 9 "On .NET" show. In my free time, I maintain a 95% plant-based diet, exercise regularly, hike in the Cascades and thrash Beat Saber levels.

I was diagnosed with young onset Parkinson's Disease in February of 2020. I maintain a blog about my personal journey with the disease at

Comments and Discussions


43 bookmarked