It also defines a Struct class for defining arbitrary data aggregations, and the special class any which can be used to represent any built-in or derived type and thus is the basis of dynamic typing.
它还定义了一个struct类,用来定义任意的数据聚合,此外,还定义了特殊的类any,它可以用来表示任何内置或导出类型,因而它也就成了动态类型化(dynamic typing)的基础。
To have a variable hold this kind of list in a program, all you need is to have a pointer that points to type struct ll_int_node.
要在程序中使用一个变量来容纳这种链表,您需要做的只是使用一个指向类型struct ll_int _ node的指针。
Because field_item_link isn't a recognized data type or entity, the data type defaults to struct when it is processed.
因为field_item_link不是可以识别的数据类型或实体,在处理它们时,数据类型默认为struct。
Is a class (or struct) that implements a more-derived interface also required to state in its base type list that it is implementing all of those less-derived interfaces?
一个实现了派生程度较高的接口的class或者struct必须要在其基类型列表中声明它实现了那些派生程度较低的接口吗?
Once created, a struct represents a new type that can then be used throughout your interface definition.
一旦创建了,struct 表示可以在整个接口定义中被使用的新类型。
Name this parameter start and set its direction as In ,and then from Browse type dialog, select Point struct as its type.
将该参数命名为start,并将其方向设置为In,然后在Browsetype对话框中,选择Point struct作为类型。
By combining object initializers and type inference, we can create simple data-storage objects without needing to define the corresponding class or struct. Listing 5-24 shows an example.
通过结合对象初始化器和类型接口,我们可以生成一个简单的数据存储对象,而不需要定义相应的类或结构。清单5 - 24演示了一个例子。
Why can an unnamed struct not be used as a trailing return type?
为什么一位不愿透露姓名的结构不能作为后返回类型?
The reference type had sequential or explicit layout, and so was exported as a struct.
引用类型具有连续布局或显式布局,因此导出为结构。
If you must store your query results or pass them outside the method boundary, consider using an ordinary named struct or class instead of an anonymous type.
如果您必须在方法界限外储存或传递查询结果,请考虑使用一般的具名结构或类别,而不使用匿名型别。
When a struct contains a reference type as a member, the default constructor of the member must be invoked explicitly, otherwise the member remains unassigned and the struct cannot be used.
当结构包含引用类型作为成员时,必须显式调用该成员的默认构造函数,否则该成员将保持未赋值状态且该结构不可用。
A constant, field, property, or type introduced in a class or struct hides all base class members with the same name.
类别或结构所引入的常数、栏位、属性或型别可隐藏所有具相同名称的基底类别成员。
Any class, struct, or interface member declaration that contains invalid modifiers before the type will generate this error.
任何的类别、结构或介面成员宣告中,如果在型别之前包含无效的修饰词,都将产生此错误。
The type and order of elements caused the compiler to add padding to the end of a struct.
元素的类型和顺序使编译器向结构的尾部添加填充。
A class or struct definition is like a blueprint that specifies what the type can do.
类别或结构定义就像是蓝图,会指定能够使用的型别。
A class or struct definition is like a blueprint that specifies what the type can do.
类别或结构定义就像是蓝图,会指定能够使用的型别。
应用推荐