- 3
- 0
- 约6.96千字
- 约 9页
- 2017-07-24 发布于河南
- 举报
值类型和引用类型变量的存储(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
您可能关注的文档
- 五防知识(压缩版)(Five anti knowledge (compressed version)).doc
- 井下供电系统漏电保护方案分析(Analysis of leakage protection scheme for underground power supply system).doc
- 亚企业家机制论(On the mechanism of sub enterprisers).doc
- 井字楼盖设计(Well pattern floor design).doc
- 亚低温治疗仪的使用(The use of mild hypothermia therapeutic apparatus).doc
- 亚健康自我检测测试方法(Sub-health; self test; test method).doc
- 亚洲十大留洋球星(Ten Asian star Liuyang).doc
- 亚里斯王物语(Aristotle King Khaled).doc
- 亚马逊,盘古四合院大数据时代的广告新贵在崛起(Amazon, Pangu courtyard, big data era advertising upstart in the rise).doc
- 亚轨道飞行器用途(Suborbital vehicle applications).doc
- 6.1 亚洲的自然环境特征教学设计( 第2课时)地理七年级下学期商务星球版(2024).docx
- Unit 3 Getting along with others(教学设计)英语译林版2020必修第一册.docx
- Unit 3 Getting along with others Period 3(教学设计)英语译林版2020必修第一册.docx
- Unit 3 Getting along with others Period 4(教学设计)高中英语译林版2020必修第一册.docx
- Unit 5Humans and Nature Period 3(教学设计)高中英语北师大版2019必修第二册.docx
- 第一节 能量的转化与守恒(讲义)物理沪科版2024九年级全一册.docx
- 第19讲 机械能守恒定律及其应用(复习讲义)高考物理一轮复习.docx
- 第11讲 氧化还原反应的应用-氯气制备 新高一化学讲义(鲁科版2019).docx
- 第一章 运动的描述(复习讲义)高中物理人教版2019必修第一册.docx
- 2.1 烷烃-高二化学(人教版2019选择性必修3).docx
原创力文档

文档评论(0)