Example #1
0
 public void Question(Teacher teacher)
 {
     for (int i = 0; i < (WillingnessToLearn + teacher.GetExperienceInYears()) / 2; i++)
     {
         teacher.Answer();
         Knowledge++;
     }
 }
Example #2
0
 public void Question(Teacher t)
 {
     t.Answer();
 }
Example #3
0
 public void Question(Teacher teacher)
 {
     teacher.Answer();
 }
Example #4
0
 internal static void Question(Teacher teacher)
 {
     Console.WriteLine("Student asks " + teacher.name);
     Teacher.Answer();
 }