單項選擇題

以下代碼輸出結(jié)果是()string str ="abcd";int result =str.LastIndexOf("d");Console.WriteLine(result)

A.4
B.3
C.0
D.代碼編寫有誤,不能運行

微信掃碼免費搜題