I was amongst the C# programmers that believe the below table of C# integral types is an alias table. But it is not: it is a synonym table.
C# type | .NET Framework Type/ Common Type System |
---|---|
byte | System.Byte |
sbyte | System.SByte |
short | System.Int16 |
ushort | System.UInt16 |
int | System.Int32 |
uint | System.UInt32 |
long | System.Int64 |
ulong | System.UInt64 |
You can use the common type system types as coding standard, or prefer the C# types. There are arguments for both.
I am still in the first group: prefer CTS types. They make changing between .NET languages a lot easier (C# and VB.NET are not the only .NET based CLI languages I use).
And indeed almost everywhere you can exchange the .NET Framework Type and the C# type without changing meaning.