Beispiel #1
0
 public override bool IsCorrect()         // overrides the virtual method defined in parent class
 {
     if (Answer.SequenceEqual(UserInput)) // compares the sequence of input to the correct answer
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #2
0
 public override bool IsCorrect()
 {
     if (Answer.SequenceEqual(UserInput))
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }