C# 中的 Action, Func, EventHandler 和 EventHandler

C# 中常用内置委托 Action, Func, EventHandler 和 EventHandler<TEventArgs> 介绍 Action Delegate 封装一个没有返回值的方法 public delegate void Action(); 样例 public static void Main() { Action showMethod = DisplayTo
相关文章
相关标签/搜索