Is there a way to specify that my variable is a short int? I am looking for something similar to M suffix for decimals. For decimals, I do not have to say
va
Two options; neither ideal:
Remove the var, specifying the type explicitly:
var
short s = 123;
Use the cast syntax (noting that this is a compile-time operation, not run-time):
var s = (short)123;
That's the only options for specifying a literal short.