Exemplo n.º 1
0
        private static void PrintStudentdetails()
        {
            Eager_Loading fromStudent = Eager_Loading.GetInstance;

            fromStudent.PrintDetails("From Student");
        }
Exemplo n.º 2
0
        private static void PrintTeacherDetails()
        {
            Eager_Loading fromTeacher = Eager_Loading.GetInstance;

            fromTeacher.PrintDetails("From Teacher");
        }