An implicit constant expression conversion permits the following conversions:
int
can be converted to type sbyte
, byte
, short
, ushort
, uint
, or ulong
, provided the value of the constant-expression is within the range of the destination type.long
can be converted to type ulong
, provided the value of the constant-expression is not negative.