摘要:
delegate:和枚举类似既可以定义在类里面也可以在namespace下。 声明:public delegate int Entrust(int x, int y);注:创建委托实例时传入的参数为方法名 class MyMath { public int add(int x, int y) { r 阅读全文
posted @ 2016-07-13 17:33
尾牙衣子
阅读(436)
评论(0)
推荐(0)
2016年7月13日