using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication14
{
class Program
{
public static void aa(string a ,string b)
{
string c;
c = a;
a = b;
b = c;
Console.WriteLine("a={0},b={1}", a, b);
}
static void Main(string[] args)
{
string x="aaa", y="bbb";
aa( x, y);
Console.WriteLine("x={0},y={1}", x, y);
Console.ReadKey();
}
}
}
|