1. switch循环
switch (Type) { case 1: if (answerCount > 1) { isCorrect = false; remark += "单选题只能有一个答案;"; } break; case 2: if (answerCount < 2) { isCorrect = false; remark += "多选题至少需要两个答案;"; } break; default: break; }