2008年9月21日
摘要: using System; namespace ClassLibrary2 { interface IEmploy //接口 { void Speak(); //方法 } class Hello:IEmploy //Hello类实现接口 { public void Speak() //实现方法 { Console.WriteLine("Hello:朋友"); } } ... 阅读全文
posted @ 2008-09-21 08:56 吴玲 阅读(254) 评论(0) 推荐(0)