static void Main(string[] args) { Console.Title = "Osu Song Fetcher - Echelon"; Console.ForegroundColor = ConsoleColor.Cyan; Console.WindowWidth = 95; Console.BufferWidth = 95; Console.BackgroundColor = ConsoleColor.Black; if (args.Length > 0) { if (!handleArguments(args)) { Console.WriteLine("There is an error in your parameters.\n"); return; } else { if (FetchMode == 2) { FetchSong(2, fsongs, fout); } else if (FetchMode == 3) { FetchSong(3, fsongs); } } } else { while (true) { Console.Clear(); nonficLib.Menu MyMenu = new nonficLib.Menu("Fetch Songs", "List Songs", "Exit"); MyMenu.SetColors(ConsoleColor.Black, ConsoleColor.Cyan, ConsoleColor.Cyan, ConsoleColor.Black); int MenuSelectedIndex = MyMenu.Display(0, 2); switch (MenuSelectedIndex) { case 0: FetchSong(0); break; case 1: FetchSong(1); break; case 2: System.Environment.Exit(1); return; } } } }