//改错题【要求:只能修改一行】 //要求能通过编译且不能改变程序的功能和作用 using System; namespace Page_132 { public class Point { public int X = 1; public int Y = 2; } class Program { static void Main() { Point pt1 = new Point(); Point pt2 = new Point(X = 5, Y = 6); Console.WriteLine("pt1: {0}, {1}", pt1.X, pt1.Y); Console.WriteLine("pt2: {0}, {1}", pt2.X, pt2.Y); } } }