Search This Blog

Tuesday, October 14, 2014

Byte Type C# Example

C# > Types > byte

The byte keyword is an integral type.
Range: 0 to 255


Example:

byte k = 255; // ok
k = 256;      // Error