上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 49 下一页
摘要: Each time we assign the same Object with a value type, a new boxing of the value occurs.Allowing access to the boxed value type allows in-memory update, which may provide significantperformance ...当我们... 阅读全文
posted @ 2008-04-11 16:17 moonz-wu 阅读(509) 评论(0) 推荐(0) 编辑
摘要: C++的构造函数1. 类没实现,编译器提供默认构造函数2. 类自己实现,编译器不再提供任何构造函数3. 类实现带参数构造函数,编译器也不会提供默认构造函数4. 在赋值重载和带参数构造函数之间,编译器优先选择构造函数。5. 先调用基类的构造函数,再调用派生类的构造函数,析构函数是先析构派生类,再析构基类。C++的内存布局1. 空类大小为1个字节class Base{};2. 带virtual方法的类... 阅读全文
posted @ 2008-04-10 10:36 moonz-wu 阅读(297) 评论(0) 推荐(0) 编辑
摘要: plum blossoms 梅花 : plum blossoms are out 梅花开了elegant 优雅 : look so elegant 开起来了如此优雅authentic 正宗的,真正的 :This is very authentic 这个非常正宗hand over one's work professionally during this transition period.在剩下的... 阅读全文
posted @ 2008-04-09 10:31 moonz-wu 阅读(559) 评论(0) 推荐(0) 编辑
摘要: MVC模式:M(Model):Encapsulates the application state封装应用程序状态Exposes the application functionality暴露应用程序功能Notifies the View of changes报告视图的变化Responds to state queries (from the View)响应状态的改变V(View)Renders the Model渲染模型Receives update notifications from the Model从模型接收变化消息Sends user input to the Controller 阅读全文
posted @ 2008-04-08 15:07 moonz-wu 阅读(641) 评论(1) 推荐(0) 编辑
摘要: 本文翻译自网上的一篇英文文章,具体链接我给忘记了。在文中主要探讨了.net的内存布局。 尽管在.net framework中我们不太需要关注内存管理和垃圾回收这方面的问题,但是出于提高我们应用程序性能的目的,在我们的脑子里还是需要有这方面的意识。明白内存管理的基本行为将有助于我们解释我们程序中变量是如何操作的。在本文中我将讨论栈和堆的一些基本知识,变量的类型和某些变量的工作原理。 阅读全文
posted @ 2008-04-02 09:01 moonz-wu 阅读(2159) 评论(1) 推荐(6) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 49 下一页