Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 334 Bytes

2019_04_01_boxing_and_unboxing.md

File metadata and controls

11 lines (7 loc) · 334 Bytes

boxing & unboxing

TODO: 挖的坑太多,填不过来了 =_=!

很多人并没有理解 boxing & unboxing 的设计目的。

  • .NET 的设计初衷:Better COM
  • CTS (Common Type System)
  • value type & reference type,value type 可以获得更好的性能