- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace ConsoleApplication1
- {
- class testArray
- {
- static void Main(string[] ager)
- {
- string inputString = "ABCDEFGHIGK";
- string lowerCase = string.Empty;
- //循环遍历字符串
- for (int i = 0; i < inputString.Length; i++)
- {
- Console.WriteLine(inputString[i]);
- }
- Console.ReadLine();
- }
- }
- }
复制代码 |