标签:console double gen read string enum ace lang return
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1 {
class Program {
delegate double ProcessDelegate(double param1, double param2);
static double Multiply(double param1, double param2) {
return param1 * param2;
}
static double Divid(double param1, double param2) {
return param1 / param2;
}
static void Main(string[] args) {
ProcessDelegate process;
double param1 = 200;
double param2 = 300;
process = new ProcessDelegate(Divid);
double d = process(param1, param2);
Console.WriteLine(d);
}
}
}
标签:console double gen read string enum ace lang return
原文地址:http://www.cnblogs.com/xiejunzhao/p/1e82297de2d3f1c89792b4df8f6d9ca0.html