類MyClass定義如下:
現(xiàn)在需要添加一個類構(gòu)造函數(shù)。下列選項中哪個是正確的?()
A.static MyClass(){……}
B.static MyClass(inti){……]
C.public static MyClass(){……}
D.public MyClass(){……}
您可能感興趣的試卷
你可能感興趣的試題
A.System Base
B.System Type
C.System Int32
D.System Value
A.internal
B.protected
C.private
D.public
E.internal protected
接口IMyInterface中只包含一個屬性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{};}
A.[Bits]
B.[Tags]
C.[Int32]
D.[Flags]
A.GetHashCode
B.Typeof
C.Parse
D.ToString
最新試題
以下是TextBox控件常用事件的是()
在WinForm窗體中,ComboBox有三種下拉樣式,其中不包括()
在ADO.NET中,DataReader對象用于從數(shù)據(jù)庫中檢索只讀的數(shù)據(jù),使用()語句可以創(chuàng)建一個DataReader對象。
在C#WinForm程序中,以下不能綁定DataGridView數(shù)據(jù)源的是()
在WinForm窗體中,可以存儲多張圖像資源的控件是()
在C#WinForms程序中,以下不屬于Label屬性的一項是()
以下關(guān)于Lable控件代碼描述正確的是()
在WinForms窗體中,單選按鈕(RadioButton)控件的()屬性用于獲取或設(shè)置控件是否已選中。
在DataSet 中,若修改某一DataRow 對象的任何一列的值,該行的DataRowState 屬性的值將變?yōu)椋ǎ?/p>
下列關(guān)于ADO.NET操作數(shù)據(jù)庫的原理,說法有誤的是()