public Base Create(StringReader input)
        {
            Question question = null;

            string line = input.ReadLine();

            string[] lineSplit = line.Split();

            switch (lineSplit[0])
            {
            case "FT": question = new FreeTextQuestion();
                break;

            case "SC": question = SingleChoiceQuestion.Create(line);
                break;
            }

            return(question);
        }
        public Base Create(StringReader input)
        {
            Question question = null;
            var      readLine = input.ReadLine();
            var      strings  = readLine.Split();

            if (strings[0] == "FT")
            {
                question = new FreeTextQuestion();
            }
            if (strings[0] == "SC")
            {
                question = SingleChoiceQuestion.Create(readLine);
            }
            if (strings[0] == "MC")
            {
                question = MultipleChoiceQuestion.Create(readLine);
            }

            return(question);
        }