委托(泛型委托、lamda表达式、用委托进行窗体传值、多播委托
为什么要使用委托?
将一个方法作为参数传递给另一个方法。
委托概念
声明一个委托类型
委托所指向的函数必须跟委托具有相同的签名(参数和返回值=签名
泛型委托
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threadin
原创
2015-04-25 13:38:17 ·
498 阅读 ·
0 评论