| point/struct-mutable-2/Client.cs - Application the struct Point - Cascaded moving. | Lecture 4 - slide 13 : 29 Program 5 |
using System;
public class Application{
public static void Main(){
Point p1 = new Point(1.0, 2.0);
p1.Move(3.0, 4.0).Move(5.0, 6.0);
Console.WriteLine("{0}", p1); // Where is p1 located?
}
}