File tree 1 file changed +3
-3
lines changed
code/lecture-08/Structures
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)
66
66
Console . WriteLine ( cPoint2 ) ; // CPoint(X: 5, Y: 6)
67
67
Console . WriteLine ( sPoint2 ) ; // SPoint(X: 3, Y: 4)
68
68
69
- IPoint cPoint3 = cPoint2 ; // BOXING!
69
+ IPoint cPoint3 = cPoint2 ;
70
70
IPoint sPoint3 = sPoint2 ; // BOXING
71
71
72
72
cPoint2 . X = 9 ; cPoint2 . Y = 0 ;
@@ -77,7 +77,7 @@ static void Main(string[] args)
77
77
Console . WriteLine ( cPoint3 ) ; // CPoint(X: 9, Y: 0)
78
78
Console . WriteLine ( sPoint3 ) ; // SPoint(X: 3, Y: 4)
79
79
80
- CPoint cPoint4 = ( CPoint ) cPoint3 ; // UNBOXING!
80
+ CPoint cPoint4 = ( CPoint ) cPoint3 ;
81
81
SPoint sPoint4 = ( SPoint ) sPoint3 ; // UNBOXING
82
82
83
83
cPoint3 . X = 3 ; cPoint3 . Y = 4 ;
@@ -89,4 +89,4 @@ static void Main(string[] args)
89
89
Console . WriteLine ( sPoint4 ) ; // SPoint(X: 3, Y: 4)
90
90
}
91
91
}
92
- }
92
+ }
You can’t perform that action at this time.
0 commit comments