摘要: 抽象类:在一个类的前面加上关键字“abstract”此类就成了抽象类。抽象类,不可以作为一个对象来使用。(无法New)一般用它来引用子类对象,abstract class Man { public void shuohua() { Conso... 阅读全文
posted @ 2015-05-28 15:45 Yusarin 阅读(214) 评论(0) 推荐(0) 编辑
摘要: namespace ConsoleApplication5{ public delegate int mydelegate(int a,int b);//定义委托 public class Class1 { public int jiafa(int a, int b)... 阅读全文
posted @ 2015-05-28 15:43 Yusarin 阅读(160) 评论(0) 推荐(0) 编辑
摘要: namespace ConsoleApplication4{ class dongwu { public void youyong() { Console.WriteLine("She was splendid like our flag... 阅读全文
posted @ 2015-05-28 15:36 Yusarin 阅读(132) 评论(0) 推荐(0) 编辑