單項(xiàng)選擇題以下代碼輸出結(jié)果是()string str="abcd";int result=str.IndexOf("a");Console.WriteLine(result)

A.-1
B.0
C.1
D.代碼編寫(xiě)有誤,不能運(yùn)行


您可能感興趣的試卷