Пример #1
0
        /// <summary>
        ///    Displays the question and receives the response from the user.
        /// </summary>
        /// <param name="q">question</param>
        private void Question(ProfileItem q)
        {
            if (m_ProfileComplete)
            {
                return;
            }

            q.Answer = "";

            WriterAndReaderWorker.WriteLine(q.Question.QuestionText);

            string userInput = WriterAndReaderWorker.ReadLine();

            CheckInput(userInput);
        }