实际上string是别名,System.String但是时代基本上是正确的......
以下是此帖中 Jon Skeet无可救药地提出的其他别名列表:
* object: System.Object
* string: System.String
* bool: System.Boolean
* byte: System.Byte
* sbyte: System.SByte
* short: System.Int16
* ushort: System.UInt16
* int: System.Int32
* uint: System.UInt32
* long: System.Int64
* ulong: System.UInt64
* float: System.Single
* double: System.Double
* decimal: System.Decimal
* char: System.Char
Run Code Online (Sandbox Code Playgroud)