public static BridgeReal GetInstance() { if (instance == null) { instance = new BridgeReal(); } return(instance); }
public static void Main(string[] args) { bridge = BridgeReal.GetInstance(); while (true) { System.Console.WriteLine("server is "); } //ForumLogger.GetInstance().Shutdown(); }