public Student Create(Language studentLanguage)
        {
            switch (studentLanguage)
            {
            case Language.Polish:
                return(PolishStudent.Create());

            case Language.English:
                return(EnglishStudent.Create());

            default:
                return(null);
            }
        }
예제 #2
0
 public Student CreateStudent()
 {
     return(PolishStudent.Create());
 }