static int Main(string[] args) { Log = new Logger(LogLevel.Debug); Log.AddLogManager(new ScreenLogManager()); Log.AddLogManager(new ServerLogManager(Log)); Biccp = new BICCPManager(Log); Conf = new ConfManager(Biccp, Log); if (Conf.ReadConf(ICCConstants.SERVER_CONF_PATH)) { int iReturnCode = ProcessArguments(args); if (iReturnCode == -1) { PrintVersion(); PrintHelp(System.Reflection.Assembly.GetExecutingAssembly().GetName().Name); return(EXIT_SUCCESS); } else if (iReturnCode == 0) { return(0); } else { return(EXIT_SUCCESS); } } else { Console.WriteLine("Error detected while reading configuration file, exiting...\n"); return(0); } }