C# 4.0 'dynamic' doesn't set ref/out arguments

后端 未结 3 1167
灰色年华
灰色年华 2020-12-03 17:51

I\'m experimenting with DynamicObject. One of the things I try to do is setting the values of ref/out arguments, as shown in the code

3条回答
  •  [愿得一人]
    2020-12-03 18:44

    To make a long story short, DynamicObject doesn't support pass-by-reference, so what you want to do is not directly possible.

提交回复
热议问题