摘要: ref参数是引用,out参数为输出参数。 class Program{ public static void RefMethod( ref int i) //参数使用了ref关键字 { i++; } public static void OutMethod(out int i) //参数使用了out 阅读全文
posted @ 2018-08-03 22:25 ZhiPeng007 阅读(109) 评论(0) 推荐(0) 编辑