同步委托简单的列子
namespace AsynDel { class Program { static void Main(string[] args) { //同步委托,主线程来实现的 Func<int, int, string> delFunc = (a, b) => (a + b).ToString(); string str = delFunc(3, 4); Console.WriteLine(str); Console.ReadKey(); } } }