Why does the following expression tree not compile unless we use a block?

后端 未结 0 409
悲哀的现实
悲哀的现实 2020-12-22 07:34

I have the following expression tree:

var collection = Expression.Variable(typeof(string[]), "testVar");
        Expression[] arrayElements = new[]          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题