public Student Create(Language studentLanguage) { switch (studentLanguage) { case Language.Polish: return(PolishStudent.Create()); case Language.English: return(EnglishStudent.Create()); default: return(null); } }
public Student CreateStudent() { return(PolishStudent.Create()); }