遍历算法小测试

使用遍历算法,输出字符串中所有‘e’的位置 1 void TraverAlgorithm(string a,int maxIndex,int i,int upe) 2 { 3 if (i == 1) 4 { 5 int e = a.IndexOf('e') + 1 + upe; 6
相关文章
相关标签/搜索