MSDN都說得很清楚啦~
Visual Studio 2005
- declare reference types:
- class
- interface
- delegate
- built-in reference types:
- object
- string
Visual Studio 2008
- declare reference types:
- class
- interface
- delegate
- built-in reference types:
- object
- string
Visual Studio 2010
- declare reference types:
- class
- interface
- delegate
- built-in reference types:
- dynamic
- object
- string
Visual Studio 2012
- declare reference types:
- class
- interface
- delegate
- built-in reference types:
- dynamic
- object
- string
C# Value Types:
‧enum
‧struct
‧simple types
C# Built-In Types:
‧simple types
‧string
‧object
C# built-in simple types:
| C# Type | .NET Framework Type |
|---|---|
| bool | System.Boolean |
| byte | System.Byte |
| sbyte | System.SByte |
| char | System.Char |
| decimal | System.Decimal |
| double | System.Double |
| float | System.Single |
| int | System.Int32 |
| uint | System.UInt32 |
| long | System.Int64 |
| ulong | System.UInt64 |
| short | System.Int16 |
| ushort | System.UInt16 |
沒有留言:
張貼留言