单项选择题
分析下列程序中类MyClass 的定义
class BaseClass
{
public int i;
}
class MyClass:BaseClass
{
public new int i;
}
则下列语句在Console 上的输出为_______.
MyClass y = new MyClass();
BaseClass x = y;
x.i = 100;
Console.WriteLine("{0}, {1}",x.i,y.i);
A.0,0
B.100,100
C.0,100
D.100,0