File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed 
code/lecture-08/Structures Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ static void Main(string[] args)
6666            Console . WriteLine ( cPoint2 ) ;  // CPoint(X: 5, Y: 6) 
6767            Console . WriteLine ( sPoint2 ) ;  // SPoint(X: 3, Y: 4) 
6868
69-             IPoint  cPoint3  =  cPoint2 ;   // BOXING! 
69+             IPoint  cPoint3  =  cPoint2 ; 
7070            IPoint  sPoint3  =  sPoint2 ;  // BOXING 
7171
7272            cPoint2 . X  =  9 ;  cPoint2 . Y  =  0 ; 
@@ -77,7 +77,7 @@ static void Main(string[] args)
7777            Console . WriteLine ( cPoint3 ) ;  // CPoint(X: 9, Y: 0) 
7878            Console . WriteLine ( sPoint3 ) ;  // SPoint(X: 3, Y: 4) 
7979
80-             CPoint  cPoint4  =  ( CPoint ) cPoint3 ;   // UNBOXING! 
80+             CPoint  cPoint4  =  ( CPoint ) cPoint3 ; 
8181            SPoint  sPoint4  =  ( SPoint ) sPoint3 ;  // UNBOXING 
8282
8383            cPoint3 . X  =  3 ;  cPoint3 . Y  =  4 ; 
@@ -89,4 +89,4 @@ static void Main(string[] args)
8989            Console . WriteLine ( sPoint4 ) ;  // SPoint(X: 3, Y: 4) 
9090        } 
9191    } 
92- } 
92+ } 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments