public override void CollectData(string question) { Console.WriteLine("Answer the question."); Console.WriteLine(question); String response = Console.ReadLine(); Console.WriteLine("Time for something else to deal with whatever you typed."); if (response == String.Empty) { Listener.NoResponseCollected(); } else { Listener.ResponseCollected(response); } }
public override void CollectData(string question) { Console.WriteLine("Please provide an answer to the following question. Many thanks in advance!"); Console.WriteLine(question); String response = Console.ReadLine(); Console.WriteLine("Got it! I will deliver your response promptly. Have a wonderful day!"); if (response == String.Empty) { Listener.NoResponseCollected(); } else { Listener.ResponseCollected(response); } }