Exemplo n.º 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();
 }
Exemplo n.º 2
0
 public void AddQuerstion(Querstion q)
 {
     querstions.Add(q);
 }