J
JuLiE Dxer
Perhaps, I skipped over learning this particular tidbit.
I ran across an odd error while trying to add to ushort variables
together and assigning it to a 3rd ushort variable.
I get this compiler error:
error CS0029: Cannot implicitly convert type 'int' to 'ushort'
code is basically this
ushort u1, u2, u3;
u1 = 3;
u2 = 5;
u3 = u1 + u2;
Does ushort math always an int object?
I ran across an odd error while trying to add to ushort variables
together and assigning it to a 3rd ushort variable.
I get this compiler error:
error CS0029: Cannot implicitly convert type 'int' to 'ushort'
code is basically this
ushort u1, u2, u3;
u1 = 3;
u2 = 5;
u3 = u1 + u2;
Does ushort math always an int object?