看看有什么不对,自己找不到
using System;
using System.Collections.Generic;
using System.Text;
namespace Test
{
class Program
{
static void Main(string[] args)
{
string[] t =new string[]{"C","Sh","a","rp"};
for(string i=0;i<t.Length;i++)
{
Console.Write(t[i]+" ");
}
Console.WriteLine();
foreach (string x in t)
{
Console.Write(x+" ");
}
Console.WriteLine();
}
}
}