下表显示内置 C# 类型的关键字,即 System 命名空间中预定义类型的别名。 C# 类型.NET 类型boolSystem.BooleanbyteSystem.BytesbyteSystem.SBytecharSystem.ChardecimalSystem.DecimaldoubleSystem.DoublefloatSystem.SingleintSystem.Int32uintSystem.UInt32longSystem.Int64ulongSystem.UInt64objectSystem.ObjectshortSystem.Int16ushortSystem.UInt16stringSystem.String 此表中的所有类型,除 object 和 string 外,皆被称为简单类型。