Structs are copied on assignment.
结构是在指派时复制的。
Structs can only have public data fields.
结构体只能拥有公有的数据字段。
Delegates behave like classes and structs.
委派的行为就像类别和结构。
Why the size of these two structs are different?
为什么这两个结构体的大小是不同的?
Just remember to maintain the two structs in sync.
记得要保持同步的两结构。
Arrays and structs may not be compared to anything.
数组和结构体可能不会任何数组进行比较。
XSD offers a wide range of types and simple structs.
XSD提供了大量的类型以及简单的结构。
Should I return NULL on functions that free structs?
我应该返回,免费的结构功能无效?
Is it allowed to have two structs with the same name?
它是可以有两个名称相同的结构吗?
Static classes and structs can also have constructors.
静态类别和结构也可以拥有建构函式。
Structs can declare constructors that have parameters.
结构可以声明带参数的构造函数。
Structs are value types and classes are reference types.
结构为实值型别,而类别则是参考型别。
Is there a shorter way to initialize an array of structs?
有一个较短的方式来初始化一个数组的结构?
How do I read an array of structs from a file and sort it?
我如何从文件中读取一个结构体数组和排序吗?
Classes and structs can implement more than one interface.
类和结构可以实现多个接口。
I changed all the structs into objects, with public members.
我需要将所有的struct转换成含有公共成员的对象。
Returns an array of structs corresponding to recent blog posts.
返回一个与最近的博客文章对应的结构体数组。
However, like reference types, structs can implement interfaces.
但与引用类型相同的是,结构也可以实现接口。
Classes and structs have members that represent their data and behavior.
类和结构具有表示其数据和行为的成员。
C - Static array of structs with string member not properly initialised?
C-静态的结构体数组与字符串不正确初始化的成员吗?
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.
避免泛型容器与结构等类型相结合。
Structs can implement an interface but they cannot inherit from another struct.
结构可以实现接口,但它们无法继承另一个结构。
Structs are value types which means they are copied when they are passed around.
结构是值类型,这意味着当他们被传来传去,他们被复制。
This was most useful when the -t option, which allowed user-defined structs, was used.
这个选项非常有用,尤其是在使用-t(允许使用用户定义的structs)选项时。
This special limited notation makes dictionaries very easy to use as records or structs
这种特殊限制符号使得字典就像记录或者结构体一样易于使用
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.
对于局部数据,使用结构体而不是类。类被存储在堆;而结构体被存储在栈。
Events are used on classes and structs to notify objects of occurrences that may affect their state.
事件被用在类和结构体上,用处是通知某些对象——这些通知事件某些对象的状态有可能被事件的发生所影响。
应用推荐