标签:
string[] array = { "A","B","C","D","H"};
string
[] array = {
"A"
,
"B"
"C"
"D"
"H"
};
var index=
array.ToList().IndexOf(
);
index=3;
c#查找string数组的某一个值的索引
原文地址:http://www.cnblogs.com/mbtq/p/5810125.html