public static void Main(string[] args) { NIOCForDVS app = new NIOCForDVS(); cb = AppUtil.AppUtil.initialize("NIOCForDVS", NIOCForDVS.constructOptions(), args); Boolean valid = app.customValidation(); if (valid) { try { cb.connect(); app.DoNIOC(); cb.disConnect(); } catch (Exception e) { Console.WriteLine(e.Message); } } Console.WriteLine("Please enter to exit: "); Console.Read(); }