摘要: out 变量 (以前必须在外面定义一行才可以使用) if (int.TryParse(input, out int result)) Console.WriteLine(result); 元组 元组(Tuple)在 .Net 4.0 的时候就有了,但元组也有些缺点,如: 1)Tuple 会影响代码的 阅读全文
posted @ 2019-04-10 15:03 maanshancss 阅读(141) 评论(0) 推荐(1) 编辑