using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace ConsoleApplication2 { //运行应用程序的类 class Program { static void Main(string[] args) { //=========这是一个类============== Sub_Test test = new Sub_Test(); TestI f = test; f.Method();