using System; using System.Drawing; class MainClass { public static int Main(string[] args) { Point pt = new Point(100, 72); Console.WriteLine(pt); Point pt2 = pt; if(pt == pt2) Console.WriteLine("Points are the same"); else Console.WriteLine("Different points"); return 0; } }
{X=100,Y=72} Points are the same