文章分类 -  读书笔记

但有所得,备忘
.Net程序设计技术内幕笔记
摘要:1、引用类型和值类型引用类型在堆中,而值类型(struct)位于堆栈!堆栈提供了托管堆的高性能替代品。值类型用struct定义struct Point{ public int x; public int y; public (int x, int y) { this.x = x; this.y = y; }}对值类型的实例化方法有如下三种:... 阅读全文

posted @ 2004-09-08 19:33 SpiritGuider 阅读(160) 评论(0) 推荐(0)

导航