摘要: 在WinForm或Console应用程序中,要使用Log4Net组件,需要在AssembleInfo.cs文件中添加如下代码,表示要使用的配置文件信息:[assembly: log4net.Config.XmlConfigurator(ConfigFile = "./LearnLog4Net.exe... 阅读全文
posted @ 2015-01-08 22:23 萌浩 阅读(230) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Net.Mail;using System.Text;using System.Threading.Tasks;... 阅读全文
posted @ 2015-01-08 22:13 萌浩 阅读(199) 评论(0) 推荐(0) 编辑