示例#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);
 }