예제 #1
0
        private static void PrintStudentdetails()
        {
            Eager_Loading fromStudent = Eager_Loading.GetInstance;

            fromStudent.PrintDetails("From Student");
        }
예제 #2
0
        private static void PrintTeacherDetails()
        {
            Eager_Loading fromTeacher = Eager_Loading.GetInstance;

            fromTeacher.PrintDetails("From Teacher");
        }