摘要:
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"); ... 阅读全文