摘要: 接口只包含方法、委托或事件的签名。方法的实现是在实现接口的类中完成的(接口的命名以I为开头),如下面的示例所示: interface ISampleInterface{ void SampleMethod();} class ImplementationClass : ISampleInterface{ // Explicit interface member imple... 阅读全文
posted @ 2007-05-24 16:01 独孤求败 阅读(265) 评论(0) 推荐(0) 编辑