2007年11月2日
摘要: using System; namespace ClassLibrary2 { interface IEmploy //接口 { void Speak(); //方法 } class Hello:IEmploy //Hello类实现接口 { public void Speak() //实现方法 { Console.WriteLine("Hello:朋友"); } } class Sorry:IEm... 阅读全文
posted @ 2007-11-02 16:44 MainIsUsed 阅读(389) 评论(0) 推荐(0) 编辑