类 MyClass 中 下列哪条语句定义了一个只读的属性 Count
已帮助 人
类 MyClass 中,下列哪条语句定义了一个只读的属性 Count
A.private int Count;
B.private int count; public int Count{ get{ return count; } }
C.public readonly int Count;
D.public readonly int Count{ get{ return count; } set{ count = value; } }

