摘要: 一、接口的作用: 我们定义一个接口: public interface IBark { void Bark(); } 1、 再定义一个类,继承于IBark,并且必需实现其中的Bark()方法 public class Dog:IBark { public Dog() {} public void B 阅读全文