Only 5 types of int uint long ulong decimal can participate in arithmetic operations
It only makes sense to specify the constant type, there is no problem of short type constants,
short can be implicitly converted to int automatically
// There is a value of type object, its bits are 0, so how do I know that its bits are 0
object is a reference type, there is no saying that every bit is 0
Only after unboxing restores the value type it represents
As for whether a certain bit is 1 or 0, you can use the bit operation&
Only 5 types of int uint long ulong decimal can participate in arithmetic operations
It only makes sense to specify the constant type, there is no problem of short type constants,
short can be implicitly converted to int automatically
short i = 1;
short j = i + 2;
The above code will compile error, I think the landlord means if there is a suffix can be written
short j = i + 2X;
There is no need for type conversion.