XSD offers a wide range of types and simple structs.
XSD提供了大量的类型以及简单的结构。
I changed all the structs into objects, with public members.
我需要将所有的struct转换成含有公共成员的对象。
Returns an array of structs corresponding to recent blog posts.
返回一个与最近的博客文章对应的结构体数组。
When defining structs, you want to make sure that you are creating types that are readable.
定义struct时,要确保所创建的类型是可读的。
Use structs instead of classes for local data. Classes are stored on the heap; structs on the stack.
对于局部数据,使用结构体而不是类。类被存储在堆;而结构体被存储在栈。
Why the size of these two structs are different?
为什么这两个结构体的大小是不同的?
Is there a shorter way to initialize an array of structs?
有一个较短的方式来初始化一个数组的结构?
Classes and structs can implement more than one interface.
类和结构可以实现多个接口。
However, like reference types, structs can implement interfaces.
但与引用类型相同的是,结构也可以实现接口。
Classes and structs have members that represent their data and behavior.
类和结构具有表示其数据和行为的成员。
All of the interfaces, enums and structs are defined within the project.
所有接口,枚举和结构在工程内定义。
Unsafe buffers can only be instance fields of structs in an unsafe context.
不安全缓冲区只能是不安全上下文中的结构的实例字段。
Avoid generic containers in combination with value types, including structs.
避免泛型容器与结构等类型相结合。
Generics permit classes, structs, interfaces, delegates, and methods to be parameterized by the types of data they store and manipulate.
泛型允许类,结构,接口,代理还有方法被他们存储和操作数据类型参数化。
We parsed a known format of binary mem dump in Linux, and used structs from Python to read the binary data dump and display it in a readable format.
我们解析了Linux系统中一个众所周知的二进制mem转储格式,使用了Python中的struct实用工具来读取二进制数据转储并以可阅读的格式进行显示。
The Go language supports a style of object-oriented programming similar to that used in C. Data is grouped together into structs, and then functions are defined which operate on those structs.
Go语言支持类似于C语言中使用的面向对象风格。数据被组织成structs,然后定义操作这些structs的函数。
Structs are copied on assignment.
结构是在指派时复制的。
Structs can only have public data fields.
结构体只能拥有公有的数据字段。
Structs can declare constructors that have parameters.
结构可以声明带参数的构造函数。
Structs are value types and classes are reference types.
结构为实值型别,而类别则是参考型别。
Structs can implement an interface but they cannot inherit from another struct.
结构可以实现接口,但它们无法继承另一个结构。
Structs can implement an interface but they cannot inherit from another struct.
结构可以实现接口,但它们无法继承另一个结构。
应用推荐