Exemplo n.º 1
0
        private static void StudnetPrintDetails()
        {
            ThreadSaftey threadItitStudent = ThreadSaftey.Getinstance;

            threadItitStudent.printDetails("For Student");
        }
Exemplo n.º 2
0
        private static void EmployeeDetails()
        {
            ThreadSaftey threadItitEmployee = ThreadSaftey.Getinstance;

            threadItitEmployee.printDetails("For Employee");
        }