R
rollasoc
Hi,
Made me laugh so I though I'd share this.
short i = 32;
short j = 1;
short k = i + j;
gives an error
Cannot implicitly convert type 'int' to 'short'
That is a bit poo in my reckoning...
at least the following compiles.
short k = (short)(i + j);
Made me laugh so I though I'd share this.
short i = 32;
short j = 1;
short k = i + j;
gives an error
Cannot implicitly convert type 'int' to 'short'
That is a bit poo in my reckoning...
at least the following compiles.
short k = (short)(i + j);