哪位好心人帮我看看这个程序为什么错了
我想把a变成int型的,但运行会出错...class Program
{
static void Main(string[] args)
{
int b;
string a;
a=Console.ReadLine();
b = int.Parse(a);
Console.WriteLine("{0}",a);
}
}
2012-03-03 21:46
2012-03-03 22:30
2012-03-03 22:33