Exemple #1
0
        public void InitTest()
        {
            var question1 = new ItemQuestion
            {
                Question      = "Вопрос 1",
                AnswerOptions = new List <string>
                {
                    "Ответ А",
                    "Ответ Б",
                    "Ответ В"
                }
            };

            var question2 = new ItemQuestion
            {
                Question      = "Вопрос 2",
                AnswerOptions = new List <string>
                {
                    "Ответ А",
                    "Ответ Б",
                    "Ответ В"
                }
            };

            Questions = new List <ItemQuestion>
            {
                question1,
                question2
            };
            Console.WriteLine($"Првоерка квестионс: {Questions}");
        }
Exemple #2
0
        public void InitTest()
        {
            var question1 = new ItemQuestion
            {
                Question      = "Вопрос 1",
                AnswerOptions = new List <string>
                {
                    "Ответ А",
                    "Ответ Б",
                    "Ответ В"
                }
            };

            var question2 = new ItemQuestion
            {
                Question      = "Вопрос 2",
                AnswerOptions = new List <string>
                {
                    "Ответ А",
                    "Ответ Б",
                    "Ответ В"
                }
            };

            Questions = new List <ItemQuestion>
            {
                question1,
                question2
            };
        }