2016年3月11日
摘要: 可选参数和命名参数 不多说,上代码,自然懂 class Program { static void Main(string[] args) { var troy = new Troy(); troy.HelloWorld(1);//此时b和c都为0 troy.HelloWorld(1,2);//此时 阅读全文
posted @ 2016-03-11 00:36 韩子卢 阅读(905) 评论(0) 推荐(3) 编辑