Al Programming
Free source code programming in C#, VB.Net, Java, SQL
Search This Blog
Monday, November 25, 2013
Short type C# Example
C#
>
Types
>
short
The
short
keyword is an integral type.
Range: -32768 to 32767
Size: Signed 16-bit integer
Example:
short
k = 32767;
// ok
k = 32768;
// Error Constant value '32768' cannot be converted to a 'short'
Newer Post
Older Post
Home