Value type and Reference type in C#

In computer programming, data types can be divided into two categories: value types and reference types. Value type holds a data value with in its own memory space. In most cases, the value is often stored in the stack. Reference type holds a pointer or memory address that holds the data. The pointer is often stored in stack and the actual data is stored in the heap.

read more...
  • © 2020-2022 Xiunan Yu
  • Powered by Hexo Theme Ayer

请我喝杯咖啡吧~

支付宝
微信