using System; namespace Example32 { class Point { double x; double y; public Point(double a, double b) { x = a; y = b; } public override string ToString() { return "x=" + x + " y=" + y; } } class Class1 { /// /// The main entry point for the application. /// [STAThread] static void Main(string[] args) { int i = 4; Point pt = new Point(33.9, 77.8); Console.WriteLine("i=" + i); Console.WriteLine("pt=" + pt); } } }