摘要: class Program { static void Main(string[] args) { string a = "abc"; string b = "bcd"; method(a,b); Console.WriteLine("a:" + a + "b:" + b); } static void method(string a, string b) { string temp = a; a = b; b = temp; Console.WriteLine("a:" + a +... 阅读全文
posted @ 2012-05-21 23:10 wouldguan 阅读(149) 评论(0) 推荐(0)