So people ask how you decide when to use value types and when to use reference types.
所以人们会问,你如何决定什么时候使用值类型,什么时候使用引用类型。
We'll discuss the difference between reference and value types in the section called "the Scala type Hierarchy".
我们会在“scala类型结构”章节讨论引用类型和值类型的区别。
Distinguish Between Value Types and Reference Types.
区别值类型数据和引用类型数据。
The following illustration shows the default marshaling behavior of value types and reference types with parameter modifiers.
下面的插图显示具有参数修饰符的值类型和引用类型的默认封送处理行为。
In managed code, value types and reference types are not permitted to overlap.
在托管代码中,值类型和引用类型不允许重叠。
Passing types by reference (using out or ref) requires experience with Pointers, understanding how value types and reference types differ, and handling methods with multiple return values.
使用引用类型参数,需要了解值类型和引用类型的差别,同时,使用这个方法将会有多个返回值。
NET programmers must be aware of: primitive types, reference types, and value types.
Net开发者都必须了解的原始类型,引用类型和值类型。
Structures are value types and classes are reference types - classes always provide at least one level of memory indirection (a pointer to a value).
结构是值类型,类是引用类型-类始终提供至少一级内存间接寻址(指向某一值的指针)。
This article describes methods and the ideas of the reinforcement method of Truss Arch Bridge that have a certain reference value to Truss arch bridge and other types of reinforcement.
本文讲述的加固方法以及对加固方法的分析思路对桁式组合拱桥以及其它类型桥梁加固有一定的参考价值。
Variables that are value types store data, and those that are reference types store references to the actual data.
值类型的变量存储数据,而引用类型的变量存储对实际数据的引用。
That simple code snippet starts to show you the distinction: Value types store values, and reference types define behavior.
这段简单的代码开始告诉你它们的区别:值类型存储数据,引用类型表现行为。
When the data moves from value types to reference types its termed as 'Boxing' and the vice versa is termed as 'UnBoxing'.
当把一个“数据”从值类型转换成引用类型的时候,就叫做“装箱”,反之叫做“拆箱”。
Structs are value types and classes are reference types.
结构为实值型别,而类别则是参考型别。
Structs are value types and classes are reference types.
结构为实值型别,而类别则是参考型别。
应用推荐