Reference types, Value types, and Patterns
- slide 9 : 29
Illustration of variables of value types
Assume that the type Point is a value type
Point p1 = new Point(1.0, 2.0), p2 = new Point(3.0, 4.0); p1 = p2;
Similar illustration of reference types