摘要: using System;namespace ConsoleApplication{ internal interface IMyHandler //接口 { void SayHello(); void SayMsg(string msg); } class MyHandlerA : IMyHandler //具体实现类A { public void SayHello() { Console.WriteLine("Hello from MyHandlerA"); ... 阅读全文
posted @ 2012-02-03 16:33 ``炯`` 阅读(564) 评论(0) 推荐(1) 编辑