N
nyhetsgrupper
The following code result in the following compilation error: Error 1
Cannot implicitly convert type 'int' to 'short'. An explicit conversion
exists (are you missing a cast?)
short a = 1;
short b = 2;
short result = a + b;
Can anyone explain why??
Cannot implicitly convert type 'int' to 'short'. An explicit conversion
exists (are you missing a cast?)
short a = 1;
short b = 2;
short result = a + b;
Can anyone explain why??