using System; namespace Example31 { class Point { double x = 2.2; double y = 3.4; 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(); Console.WriteLine("i=" + i); Console.WriteLine("pt=" + pt); } } }