Пример #1
0
        private static void StudnetPrintDetails()
        {
            ThreadSaftey threadItitStudent = ThreadSaftey.Getinstance;

            threadItitStudent.printDetails("For Student");
        }
Пример #2
0
        private static void EmployeeDetails()
        {
            ThreadSaftey threadItitEmployee = ThreadSaftey.Getinstance;

            threadItitEmployee.printDetails("For Employee");
        }