摘要: 两者都是按地址传递的,使用后都将改变原来参数的数值。 class Program { static void Main(string[] args) { int num = 1; Method(ref num); Console.WriteLine(num)... 阅读全文
posted @ 2019-08-15 19:02 QueryWord 阅读(168) 评论(0) 推荐(0) 编辑