How to make Log4Net wrapper class as a singleton class?
问题 I have a log4net wrapper class... But i need to instantiate everytime when i call it from other classes to log the error. I need to overcome that.. Recently i came across the singleton class which is not familiar to me.. Hence I need help in converting my current wrapper class to the singleton class.. I am posting my log4net wrapper class which i am currently using below.. using System; using System.Data; using System.Configuration; using Asset.Business; /// <summary> /// Summary description