Narrowing and widening
If you know what casting is, this will be easy for you
A byte is a small integer that has a maximum value of 255, if you want to save 315 in that byte variable, you will need to widen it to an integer for example.
Narrowing and widening
If you know what casting is, this will be easy for you
A byte is a small integer that has a maximum value of 255, if you want to save 315 in that byte variable, you will need to widen it to an integer for example.