public static void MessagesMenu(string nickName) { bool continueMenu = true; SqlQueries.GetUser(nickName); User user = new User(); MessageData.ListAllComments(user.UserId); while (continueMenu) { Console.WriteLine("Messages"); Console.WriteLine("-------------------------"); Console.WriteLine("(1) Read Message."); Console.WriteLine("(2) Send Message.");; Console.WriteLine("(3) Delete Messsage."); Console.WriteLine("(4) Exit to Main menu"); Console.WriteLine(); switch (Console.ReadKey().KeyChar) { case '1': break; case '2': break; case '3': break; case '4': default: continueMenu = false; break; } } }