cs_terminology
This is an old revision of the document!
Widening Conversion Conversion without lose of precision. Int → Double. Can be done implicitly.
Narrowing Conversion Conversion with lose of precision. Double → Int. Requires explicit conversion.
Boxing Value type to reference type.
int i = 123; object o = (object) i;
Unboxing Value type to reference type.
object o = 123; int i = (int) o;
Immutable
cs_terminology.1231636059.txt.gz · Last modified: 2017/01/01 19:49 (external edit)