兰冰点点

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2021年4月15日

摘要: ref和out关键字都为引用类型,使用后都会修改实参的值 class Program { static void Main(string[] args) { int m = 10; int n; GetInt(ref m); GetInt2(out n) ; Console.WriteLine("m 阅读全文
posted @ 2021-04-15 10:24 兰冰点点 阅读(159) 评论(0) 推荐(0) 编辑