2008年9月19日

摘要: 引言: 大家都知道接口是定义了一组契约,但是你知道接口的存在形式吗? 你想更深一步了解接口吗? Follow me. :) 概念: Interfaces define a contract that other types can implement. Interfaces can have static fields and methods, but they shall not have i... 阅读全文
posted @ 2008-09-19 00:09 xwang 阅读(417) 评论(0) 推荐(0) 编辑
摘要: 引言 在.Net平台中,面向对象是一个非常重要的概念,那么在IL是怎样对面向对象进行支持的呢? 让我们从创建一个类开始 例子 1: .assembly extern mscorlib {} 2: .assembly MyClass {} 3: .class public auto unicode XWang extends [mscorlib]System.Object ... 阅读全文
posted @ 2008-09-19 00:08 xwang 阅读(333) 评论(0) 推荐(0) 编辑

导航