值类型和引用类型变量的存储(Storage of value types and reference type variables).docVIP

  • 3
  • 0
  • 约6.96千字
  • 约 9页
  • 2017-07-24 发布于河南
  • 举报

值类型和引用类型变量的存储(Storage of value types and reference type variables).doc

值类型和引用类型变量的存储(Storage of value types and reference type variables)

值类型和引用类型变量的存储(Storage of value types and reference type variables) Storage of value types and reference type variables First of all, variables are the basic unit for storing information, and for computers, variables are equivalent to one memory space. Variables in C# can be divided into two types: value type and reference type: Value types: simple types, structure types, enumerated types Reference types: classes, delegates, arrays, interfaces. (1) value types and reference types memory allocation A value type operates in a stack, and a reference type allocates a storage unit in the heap. Stack

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档