类 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; } }

类 MyClass 中 下列哪条语句定义了一个只读的属性 Count

热搜:乳酸循环不经过下列哪条途径