public void CreateServer(string UserServerName) { while (true) { Console.WriteLine(UserServerName + " does not exist. Would you like to create it? (y)/n "); String UserInput = Console.ReadLine(); if (UserInput == "y" || string.IsNullOrWhiteSpace(UserInput)) { CreateServerOnly(UserServerName); AddUserName(); NewPassword(); ServerDictionary.Add(this.ServerName, this); IsDicAndDatabaseInSync = false; logevents("Server created"); return; } else if (UserInput == "n") { return; } else { Console.WriteLine("Invalid Input"); } } }