Link Details

Link 1189183 thumbnail
User 225256 avatar

By mswatcher
via blog.nullspace.io
Submitted: Aug 02 2014 / 12:44

C# supports kind-of-macros via the very neat Expression Tree API. The gist is: You build a tree that represents some C# expression. When you want to execute that expression, C# basically treats it like a small DLL. i.e., it compiles the expression tree to a IL (the CLR’s bytecode), and then links to it like it would any other DLL.
  • 3
  • 0
  • 118
  • 152

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (3)



Voters Against This Link (0)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java