單項選擇題C#中,新建一字符串變量str,并將字符串"Tom′sLiving Room"保存到串中,則應該使用下列哪條語句()
A.string str = "Tom\'s Living Room";
B.string str = "Tom's Living Room";
C.string str("Tom's Living Room");
D.string str("Tom"s Living Room");
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題能正確表示邏輯關系“a>=10或a<=0”的C#語言表達式是()
A.for循環(huán)只能用于循環(huán)次數已經確定的情況
B.for循環(huán)是先判定表達式,后執(zhí)行循環(huán)體語句
C.for循環(huán)中,可以用break語句跳出循環(huán)體
D.for循環(huán)體語句中,可以包含多條語句,但要用花括號括起來
2.問答題
寫出以下程序運行結果。
3.問答題
寫出以下程序運行結果。
4.問答題
寫出以下程序運行結果。
最新試題