Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 165205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T11:52:48+00:00 2026-05-11T11:52:48+00:00

When I first typed this question, I did so in order to find the

  • 0

When I first typed this question, I did so in order to find the duplicate questions, feeling sure that someone must have already asked this question. My plan was to follow those dupe links instead of posting this question. But this question has not been asked before as far as I can see … it did not turn up in the ‘Related Questions’ list.

What are some of the best resources you’ve found (articles, books, blog posts, etc.) for gaining an in-depth understanding of Expression Trees in C#? I keep getting surprised by their capabilities, and now I’m at the point where I’m saying, ‘OK, enough surprise. I want to stop right now and get a PhD in these things.’ I’m looking for material that systematically, methodically covers the capabilities and then walks through detailed examples of what you can do with them.

Note: I’m not talking about lambda expressions. I’m talking about Expression< T > and all the things that go with it and arise from it.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T11:52:49+00:00Added an answer on May 11, 2026 at 11:52 am

    Chapter 11 (Inside Expression Trees) and chapter 12 (Extending Linq) of Programming Microsoft Linq (ISBN 13: 978-0-7356-2400-9 or ISBN 10: 0-7356-2400-3) has been invaluable for me. I haven’t read Jons book, but he is a quality guy and explains things well, so I assume that his coverage would also be good.

    Another great resource is Bart De Smet’s blog

    Also, keep your eye on MSDN, the sample code for building a Simple Linq to Database (by Pedram Rezaei) is about to get about 40 pages of Doco explaining it.

    A really, really useful resource for Expression Tree’s in fact I would regard it as a must have is the Expression Tree Visualiser debugging tool.

    You should also learn as much as you can about Expression Tree Visitors, there is a pretty good base class inplementation here.

    Here is some sample code derived from that Visitor class to do some debugging (I based this on some sample code in the book I mentioned) the prependIndent method call is just an extension method on a string to put a ‘–‘ at each indent level.

      internal class DebugDisplayTree : ExpressionVisitor   {     private int indentLevel = 0;      protected override System.Linq.Expressions.Expression Visit(Expression exp)     {       if (exp != null)       {         Trace.WriteLine(string.Format('{0} : {1} ', exp.NodeType, exp.GetType().ToString()).PrependIndent(indentLevel));       }       indentLevel++;       Expression result = base.Visit(exp);       indentLevel--;       return result;     }     ... 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 81k
  • Answers 81k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Let's do a little trace in our heads of how… May 11, 2026 at 4:33 pm
  • Editorial Team
    Editorial Team added an answer The function calculates a latitude and longitude for the specified… May 11, 2026 at 4:33 pm
  • Editorial Team
    Editorial Team added an answer According to the documentation, yes it does support the JUnit… May 11, 2026 at 4:33 pm

Related Questions

In VS .NET, when you are selecting a folder for a project, a dialog
This is the first time I've used a webservice for anything so the question
In my iPhone app I employ NSDecimalNumber to store some some currency rate values.
Suppose to have a code like this: <div class=notSelected> <label>Name <input type=text name=name id=name

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.