예제 #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");
        }