單項(xiàng)選擇題設(shè)計(jì)類MyClass時(shí),若希望字段data只能被同一程序集的其他類訪問,可將該字段的詢問修飾符設(shè)為()

A.internal
B.protected
C.private
D.public
E.internal protected


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題

接口IMyInterface中只包含一個(gè)屬性MyName.該屬性滿足:
               公有 
              可讀可寫
              字符串類刑
則該接口的定義應(yīng)為()

A.interface MyInterface{string MyName{get;set;}}
B.interface MyInterface{int MyName{get;set;}}
C.interface MyInterface{string MyName{get{}set{}}
D.interface MyInterface{string MyName{get{};set{};}