public static void Main(string[] args) { // get all machine adapters var adapters = AdapterHelper.GetAdapters(); // print adapters with index for select PrintAdapters(adapters); // getting adapter index from user var adapterUserIndex = SelectAdapterIndex(); var adapterIndex = adapterUserIndex - 1; var adapter = adapters[adapterIndex]; // getting ip settings var settingsLoader = SettingsLoader.CreateInstance(); settingsLoader.Load(out var settings, __BaseDirectory); // clear console Console.Clear(); var tracker = new TickTracker(adapter, settings); tracker.Update += (sender, e) => { // update console view here Console.Clear(); Console.WriteLine($"Tickrate: Stamp: {e.CurrentRate} Avg: {e.Average} Max: {e.MaxRate} Min {e.MinRate}"); }; tracker.Start(); Console.Read(); }