摘要: 写一个读取数字的类 实现输入小于max参数的数,实现输入介于min和max之间的数字,实现输入一个整数,使用指定默认参数代替了方法重载。代码:class JKConsole { public static int ReadInt(int max = int.MaxValue, i... 阅读全文
posted @ 2014-01-20 18:16 我叫小菜 阅读(179) 评论(0) 推荐(0) 编辑