xuanzecontent.cs

来自「本在线考试系统采用了面向对象的分析和设计」· CS 代码 · 共 25 行

CS
25
字号
using System;
using System.Collections.Generic;
using System.Text;

namespace ExaminationSystem.BLL.Domain
{
    public abstract class XuanZeContent:QuestionContent
    {
        private IList<Choice> choices = new List<Choice>();

        public IList<Choice> Choices
        {
            get { return choices; }
            set { choices = value; }
        }
        protected override string GetChoicesXML()
        {
            StringBuilder builder = new StringBuilder(500);
            foreach (Choice item in Choices)
                builder.Append(item.GetXML());
            return builder.ToString();
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?