![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
胤长風
这个作者很懒,什么都没留下…
展开
-
委托——把委托类型作为参数使用
class Program { static void Main(string[] args) { // 创建一个PrintDelegate委托类型的实例,并进行初始化赋值 // 此时实例化出来的printDelegate变量指向Print1方法 PrintDelegate print...原创 2018-08-31 15:01:16 · 2555 阅读 · 0 评论 -
委托——Action委托使用
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Action委托{ class Program { // **************************...原创 2018-09-01 11:13:39 · 3990 阅读 · 0 评论 -
委托——Func委托
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Func委托{ class Program { // ****************************...原创 2018-09-06 11:44:10 · 146 阅读 · 0 评论 -
委托——C#委托和事件详解
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Csharp委托和事件详解{ /* * 作者:Ai * 时间:2018.3.1 * * ps:委托和事件我已经学习了好几遍了,但隔得时间长了总是又忘记...转载 2018-09-06 15:01:02 · 188 阅读 · 0 评论