Q&A

You can put whatever you'd like to ask (technical, life, etc.) here in the comment area.

Click on the title of the article to navigate into it, if necessary, and then submit in the comments area below.

Some debugging tips on Linq.Expression

Machine Translation Warning:

The content below is mostly translated by machine, and I’ve not got enough time to review the text. So, maybe you’d like to view the Simplified Chinese version of the page.

You can generate IL code, and thereby construct a methods, using ‘System.Linq.Expression’ during runtime.Compared to ‘System.Reflection.Emit.ILGenerator’, use expression trees to construct dynamic methods is an easier way to handle IL code.As you know, IL instructions is just like any kind of assemly, which is rather elaborate. I just cannot handle it well enough 🙁 Continue reading “Some debugging tips on Linq.Expression”

Play with Linq.Expression

Suddenly Visual Basic 6.0 ……

Yesterday once more.

When ConditionalExpression.ToString() is invoked...
When ConditionalExpression.ToString() is invoked…

And

Lambda……
Lambda function generated by Linq.Expression.

There’s virtually no way to debug into it…

So I had to use something like Debug.Print. Really had a hard time.