首頁(yè)
題庫(kù)
網(wǎng)課
在線???/a>
桌面端
登錄
搜標(biāo)題
搜題干
搜選項(xiàng)
0
/ 200字
搜索
單項(xiàng)選擇題
以下代碼輸出結(jié)果是()string str="abcd";int result=str.IndexOf("a");Console.WriteLine(result)
A.-1
B.0
C.1
D.代碼編寫有誤,不能運(yùn)行
點(diǎn)擊查看答案&解析
在線練習(xí)
手機(jī)看題
你可能感興趣的試題
單項(xiàng)選擇題
以下代碼輸出結(jié)果是()string str ="abcd";int result =str.LastIndexOf("d");Console.WriteLine(result)
A.4
B.3
C.0
D.代碼編寫有誤,不能運(yùn)行
點(diǎn)擊查看答案&解析
手機(jī)看題
單項(xiàng)選擇題
以下代碼輸出結(jié)果是()string str ="aaa@qq.com";string[]result =str.Split(’@’);Console.WriteLine(result[0]);
A.aaa
B.qq.com
C.qq
D.代碼編寫有誤,不能運(yùn)行
點(diǎn)擊查看答案&解析
手機(jī)看題
微信掃碼免費(fèi)搜題