The table in Appendix B lists the 13 simple types in C#. Like its predecessor languages C and C++, C# requires all variables to have a type. For this reason, C# is referred to as a strongly typed language.
In C and C++, you frequently have to write separate versions of apps to support different computer platforms, because the simple types are not guaranteed to be identical from computer to computer. For example, an
int value on one machine might be represented by 16 bits (2 bytes) of storage, while an
int value on another machine might be represented by 32 bits (4 bytes) of storage. In C#,
int values are always 32 bits (4 bytes). In fact, all C# numeric types have fixed sizes, as is shown in Appendix B.
Each type in Appendix ...