摘要: 委托是什么? 委托(delegate)是函数指针的升级版。 学过C/C++的小伙伴都知道函数指针,函数指针就是指向函数的指针。 include<studio.h> int (*Calc)(int a,int b);//声明一个返回int类型的函数指针类型。 int Add (int a,int b) 阅读全文
posted @ 2019-12-30 17:26 Luohanhui 阅读(291) 评论(0) 推荐(0)