摘要:
直接上代码using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.IO;namespace ETCRM.WebService.Tester{ class Program { static void Main(string[] args) { try { //String Url = "http://localhost... 阅读全文
摘要:
其定义如下:public delegate TResult Func(T1 arg1, T2 arg2);封装一个具有两个参数并返回 TResult 参数指定的类型值的方法。示例如下: class Program { static void Main(string[] args) { Func funcInt = AddInt; Console.WriteLine(funcInt(100, 200)); Func funcString = AddString; Cons... 阅读全文