Focus on my subject! Powered by HendyZhu

永久域名:http://hendy.cnblogs.com

导航

2010年3月19日

.NET面试题

摘要: 1. C#中 property 与 attribute的区别,他们各有什么用处,这种机制的好处在哪里?=============== property用法 get/set方法。主要用于类与外部程序之间的数据交互使用。增加了对类内部数据访问的安全性和方便性,在编译期就可以进行类型检查和访问权限检查。attribute用法[STAThread]public void Thrd(){...}attrib... 阅读全文

posted @ 2010-03-19 11:10 Hendy Chu 阅读(296) 评论(0) 推荐(0) 编辑