Пример #1
0
 public void AddQuerstionInTest(Querstion q, string Sname, string Tname)
 {
     foreach (Subject s in subj)
     {
         if (s.subject == Sname)
         {
             foreach (Test t in s.tests)
             {
                 if (t.tName == Tname)
                 {
                     t.AddQuerstion(q);
                 }
             }
         }
     }
     SaveData();
 }
Пример #2
0
 public void AddQuerstion(Querstion q)
 {
     querstions.Add(q);
 }