为[ double ] 类型 添加[zzzzz]方法
class Program
{
static void Main(string[] args)
{
double v1 = 123;
double p1 = v1.zzzzz();
System.Console.WriteLine(p1);
//--
double p2=(1234567890.123).zzzzz();
System.Console.WriteLine(p2);
}
}
static class myExtension
{
public static double zzzzz(this double d)
{
return d/2 ;
}
}