C# - 基础 考试

第(1/10)题:
public class Point { public int X, Y; }

static void Main()
{
    Point p1 = new Point();
    p1.X = 7;
    Point p2 = p1;

    p1.X = 9; // Change p1.X
    Console.WriteLine (p1.X); 
    Console.WriteLine (p2.X); 
}

上述代码输出是: