User Tools

Site Tools


cs_terminology

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
cs_terminology [2009/01/11 01:07] – created stephencs_terminology [2009/01/11 01:36] (current) – removed stephen
Line 1: Line 1:
-**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. 
-<code c#> 
-int i = 123; 
-object o = (object) i; 
-</code> 
- 
-**Unboxing** Value type to reference type. 
-<code c#> 
-object o = 123;  
-int i = (int) o; 
-</code> 
- 
-**Immutable** :?: 
cs_terminology.1231636059.txt.gz · Last modified: 2017/01/01 19:49 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki