我在小写双倍和大写双倍期间混淆。
double/Double ...有什么区别?在双倍和双倍差异
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace test
{
static void Main(string[] args)
{
Double a = 100;
double b = 200;
Console.Write("{0},{1}",a,b);
}
}
}
两者都做同样的工作,所以为什么看起来不同,即双和双...?
'双'即'System.Double'只是'双'的同义词 –
[相关文档](https://msdn.mi crosoft.com/en-us/library/ya5y69ds.aspx)。 –
其他方式,因为double是C#语言,而System.Double是结构 – Sascha