标准 C 允许使用需要引用自身的表达式初始化对象或变量,但只适用于非静态作用域的对象。
Standard C allows for the initialization of an object or variable with an expression involving a reference to itself, but only for objects of nonstatic extent.
表示一个表达式,该表达式创建新对象并初始化该对象的一个属性。
Represents an expression that creates a new object and initializes a property of the object.
查询表达式经常使用匿名类型,而这些类型只能使用对象初始值设定项进行初始化。
Query expressions make frequent use of anonymous types, which can only be initialized with an object initializer.
应用推荐