Example #1
0
 //METHOD
 public bool Passed(studentGrade grade)
 {
     if ((int)grade > 5 && (int)grade <= 10)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Example #2
0
 public SecondCourse(string courseName, studentGrade grade)
 {
     CourseName = courseName;
     Grade      = grade;
 }