單項選擇題下列方法中,不能用于定位字符串中的字符或子字符串的是()。
A.SubString
B.IndexOfAny
C.LastIndexOf
D.IndexOf
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題假如有字符串str1和字符串str2,下列選項不能利用于比較這兩個字符串是否相等的是()。
A.string.Compare(str1,str2)
B.str1= =str2
C.string.Equals(str1,str2)
D.string.CompareTo(str1,str2)
2.單項選擇題
下面選項中是在C#中定義數(shù)組的是()。
A.A
B.B
C.C
D.D

最新試題