匿名类型必须用对象初始值设定项加以声明。
Anonymous types must be declared with an object initializer.
查询表达式经常使用匿名类型,而这些类型只能使用对象初始值设定项进行初始化。
Query expressions make frequent use of anonymous types, which can only be initialized with an object initializer.
编译器进程的第一个访问默认实例的构造函数,然后通过处理成员初始化对象初始值设定项。
The compiler processes object initializers by first accessing the default instance constructor, and then by processing the member initializations.
应用推荐