在c#中关于闪退的问题 class Program
{
static void Main(string[] args)
{
swaper s = new swaper();
【1】int a = Convert.ToInt32(Console.ReadLine());
【2】int b = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("调用前的实参的值:{0},{1}",a,b);
s.swap(ref a, ref b);
Console.WriteLine("调用完后,实参的值:{0},{1}", a, b);
Console.Read();