System.String is a CLR type and string is the alias type.
There is no difference between System.String and string type. Both of them are
compiled to System.String type.
System.String and System.Object are predefined reference
types and others are value types.
These are other aliases,
Alias
|
CLR Type
|
string
|
System.String
|
sbyte
|
System.SByte
|
byte
|
System.Byte
|
short
|
System.Int16
|
ushort
|
System.UInt16
|
int
|
System.Int32
|
unit
|
System.UInt32
|
long
|
System.Int64
|
ulong
|
System.UInt64
|
char
|
System.Char
|
float
|
System.Single
|
double
|
System.Double
|
bool
|
System.Boolean
|
decimal
|
System.Decimal
|
0 comments:
Post a Comment