Mitsu's blog

Discussing topics related to .Net, WPF, C# and Linq

Browse by Tags

Tagged Content List
  • Blog Post: C# 4 expressions: loops, goto, label, if and even for ! [Part III]

    We now have block and variable support in our very small meta language. Let’s try to use this basic engine to add higher functionalities. .Net 4.0 expression API also brings new instructions such as Loop, Goto, Label, IfThenElse, etc. We will add them with always the same process: adding a comprehensive...
  • Blog Post: C# 4 expressions: variables [Part II]

    Reading the first part is mandatory ! The goal is still the same: enhance the C# 4 expression capabilities. Now we have block support, let’s find a way to add variables. We can not really ‘code’ something without them… In our first sample, the main lambda already had a parameter and we were...
  • Blog Post: C# 4 expressions: blocks [Part I]

    Since .Net 3.5 and Linq, the C# compiler is capable of generating expression trees instead of standard executable IL. Even if Linq opens the door of meta-programming (using the code to define something else, like a Sql query), we still have a lot of limitations. A C# expression is limited to a single...
  • Blog Post: Read/Write selector in C# 3 then C# 4

    I needed some quiet time to finish this article so I took some vacations here (Mauritius Island) Expressions are used to evaluate something. We usually use them in the right side of an affectation or at any place where a value is expected. It can be composed with many other values, with computations...
Page 1 of 1 (4 items)