Log4net uses in c # WinForm
5.0
This is c # WinForm log4net using instances of the file and configuration files.
In addition to the above profile, you also need to AssemblyInfo.cs File add the following code:
[assembly: log4net. Config.XmlConfigurator(Watch = true)]