public string Question { get; set; } public string Answer { get; set; } public int Serial { get; set; } public int SubmissionSerial { get; set; } public List NoteTypeQuestions { get; set; }
public string Note { get; set; }public string NoteQuestion { get; set; }public string NoteAnswer { get; set; }
string[] Notes = Question.Split('/');string note = Notes[0].ToString();string noteQuestion = Notes[1];string noteAnswer = Convert.ToString(parsedProperty.Value);aQuestionAnswer.NoteTypeQuestions.Add(new NoteTypeQuestion() { Note = note, NoteQuestion = noteQuestion, NoteAnswer = noteAnswer });QuestionAnswerList.Add(aQuestionAnswer);
@QuestionAnswers.Serial@QuestionAnswers.Question@QuestionAnswers.Answer@foreach (var questionans in QuestionAnswers.NoteTypeQuestions){
@questionans.Note@questionans.NoteQuestion@questionans.NoteAnswer
@questionans.Note
@questionans.NoteQuestion
@questionans.NoteAnswer
}