using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;namespace hello
{ class Test
{
static void Main()
{
int[] arr = new int[] { 1, 2, 3 };
for (int i = 0; i < arr.Length; i++)
{
Console.WriteLine(i);
}
}
}
}为什么运行的时候,出现一下有消失了
using System.Collections.Generic;
using System.Linq;
using System.Text;namespace hello
{ class Test
{
static void Main()
{
int[] arr = new int[] { 1, 2, 3 };
for (int i = 0; i < arr.Length; i++)
{
Console.WriteLine(i);
}
}
}
}为什么运行的时候,出现一下有消失了
=》
Console.WriteLine(i);
Console.Read();或者直接 CTL+F5
Console.ReadLine();