static void Main(string[] args)
{
int[] arr = { 10, 11, 12, 13, 14 };
//方法1
//for (int i = 0; i < arr.Length; i++)
//{
// Console.WriteLine(arr[i]);
//}
//方法2
//int i = 0;
//while (i < arr.Length)
//{
// Console.WriteLine(arr[i]);
// i++;
//}
//方法3
foreach (int s in arr)
{
Console.WriteLine(s);
}
}