摘要: I’ve worked with a lot of programmers over the years — some of them super amazing, and some distinctly lackluster. As I’ve had the pleasure of working... 阅读全文
posted @ 2014-05-06 21:36 AaronZcw 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 本文中所有图示纯为个人理解(参考了Assembly中元数据的存储方式),与真实情况可能有所出入。 图中绿色表示公有方法,红色表示私有方法。本文将通过以下四个案例来分析C#中的接口究竟是如何工作的。1、公有方法实现接口方法尽管C#在定义接口时不用指明接口方法的访问控制方式,但默认接口方法均为publi... 阅读全文
posted @ 2014-05-06 21:12 AaronZcw 阅读(178) 评论(0) 推荐(0) 编辑