diff --git a/TeamFlash/Program.cs b/TeamFlash/Program.cs index da6723c..7730b41 100644 --- a/TeamFlash/Program.cs +++ b/TeamFlash/Program.cs @@ -7,27 +7,6 @@ namespace TeamFlash { class Program { - static string ReadConfig(string name, string previousValue) - { - string input = null; - while (string.IsNullOrEmpty(input)) - { - Console.WriteLine("{0}?", name); - if (!string.IsNullOrEmpty(previousValue)) - { - Console.WriteLine("(press enter for previous value: {0})", previousValue); - } - input = Console.ReadLine(); - if (!string.IsNullOrEmpty(previousValue) && - string.IsNullOrEmpty(input)) - { - input = previousValue; - } - Console.WriteLine(); - } - return input; - } - static void Main() { var teamFlashConfig = new TeamFlashConfig(); @@ -79,6 +58,27 @@ static void Main() } + static string ReadConfig(string name, string previousValue) + { + string input = null; + while (string.IsNullOrEmpty(input)) + { + Console.WriteLine("{0}?", name); + if (!string.IsNullOrEmpty(previousValue)) + { + Console.WriteLine("(press enter for previous value: {0})", previousValue); + } + input = Console.ReadLine(); + if (!string.IsNullOrEmpty(previousValue) && + string.IsNullOrEmpty(input)) + { + input = previousValue; + } + Console.WriteLine(); + } + return input; + } + static void Wait() { var delayCount = 0;