摘要: static void Main(string[] args) { var arr = new int[] { 2, 8, 5, 1, 9, 9, 7, 7, 25, 35, 20 }; Sort1(arr); foreach (var item in arr) { Console.WriteLin 阅读全文
posted @ 2016-11-21 17:14 菜鸟Only 阅读(584) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { YtRequest<RequestHead, RequestBody> Ytrequest = new YtRequest<RequestHead, RequestBody> { head = new RequestHead { v 阅读全文
posted @ 2016-11-21 17:09 菜鸟Only 阅读(177) 评论(0) 推荐(0) 编辑
摘要: <configuration> <configSections> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/> </configSections> <log4ne 阅读全文
posted @ 2016-11-21 17:06 菜鸟Only 阅读(149) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { Console.WriteLine(foo(30)); Console.ReadKey(); } public static int foo(int i) { if (i <= 0) { return 0; } else if (i 阅读全文
posted @ 2016-11-21 17:01 菜鸟Only 阅读(280) 评论(0) 推荐(0) 编辑