摘要: 委托其实可以看作是方法的指针或“引用” delegate bool CompareTest(int x,int y) public bool test(int x,int y) { return (x > y) ? true:false ; } CompareTest ct = new CompareTest(test); 那么ct(3,5)其实就相当于调用test(3,5) 从上面的... 阅读全文
posted @ 2004-06-30 00:31 kwklover 阅读(1059) 评论(4) 推荐(0) 编辑