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
var d = (decimal)1.23;
I can just write as follows:
var d = 1.23M;
Is there a way to write this
var s = SomeLiteralWithoutCast
so that s is implied to be short int?
See Question&Answers more detail:os