Is the order of invocation of mixed properties and indexers in an initializer guaranteed?

前端 未结 0 439
陌清茗
陌清茗 2021-01-26 04:09

The C# standard says that for an appropriate definition of C, this object initializer:

var c = new C {
    x = true,
    y = { a = "Hello" },
    z = {          


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