Пример #1
0
        private static Student RetriveStudentFromDatabase()
        {
            Student student = new Student();

            student.SetName("Robert");
            student.SetRollNo("10");
            return(student);
        }
Пример #2
0
        private static Student RetrieveStudentFromDatabase()
        {
            Student student = new Student();

            student.SetName("Urban");
            student.SetRollNo("3");
            return(student);
        }
Пример #3
0
 public void SetStudentName(String name)
 {
     _studentModal.SetName(name);
 }
Пример #4
0
 public void SetStudentName(string name)
 {
     model.SetName(name);
 }