Пример #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");
        }