.NET FrameWork 小記 (Value Types,Refrence Types, difference)

two golden rules:

A Reference Type always goes on the Heap .


Value Types and Pointers always go where they were declared.(stack---pointer--heap)



http://www.c-sharpcorner.com/UploadFile/rmcochran/csharp_memory01122006130034PM/csharp_memory.aspx

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章