What exactly are Integral Types?

“Integral” refers to integer types (i.e. whole numbers). In C# this means types like int, long, short, etc.

Please see Integral Types Table (C# Reference):

The following table shows the sizes and ranges of the integral types, which constitute a subset of simple types.

Edit: Keep in mind that the switch statement supports literal strings as well.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)