摘要: static void Main(string[] args) { string[] enumNames = GetEnumNames(typeof(Seasons)); if(enumNames!=null && enumNames.Any()) { foreach(var name in enumNames) { Console.WriteLine(name); } } Console.Wri 阅读全文
posted @ 2020-01-03 14:59 FredGrit 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 1.install-package log4net 2.add new config file, its name is log4net.config <?xml version="1.0" encoding="utf-8" ?><configuration> <log4net> <root> <l 阅读全文
posted @ 2020-01-03 11:29 FredGrit 阅读(377) 评论(0) 推荐(0) 编辑