查找字符串中字符位置的标准解决方案是使用String.IndexOf() 方法。 ... WriteLine("Index of character '{0}' is {1}", c, index);.
確定! 回上一頁