As my teacher always told me: "in C# everything are pointers",
I am currently on a project where I use Windows Forms and the Point class that goes with it.
Example:
Point a = new Point(200, 200);
Point b = a;
a.X = 100;
Console.WriteLine(b.X);
As 'a' is a pointer, when setting 'b' to 'a' and then changing 'a.X' value, b.X value should change too right? But I still get 200 as a result.
I would like it to be 100 (keeping a link between them), is there any way to do this in C#?