using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks; namespace ConsoleApplication7
{
class Program
{
static void Main(string[] args)
{
int a = ;
int b = ;
Test(ref a, ref b);
Console.WriteLine("现在a的值是{0},b的值是{1}",a,b);
Console.ReadKey();
} static int Test(ref int a,ref int b)
{
int temp = a;
a = b;
b = temp;
return ;
} }
}