示例#1
0
        private void Methods(int choice)
        {
            Employee employee2 = new Employee("Шевчук", "Іван", "Водій", "22", 523);
            Employee employee1 = new Employee("Іванова", "Марта", "Лікар", "123", 155);


            switch (choice)
            {
            case 1:
            {
                Employee.Show();
                break;
            }

            case 2:
            {
                Employee employee3 = new Employee("Коваль", "Олег", "Психіатр", "66", 200);
                break;
            }

            case 3:
            {
                Employee employee4 = new Employee("Міл2а", "Сидо22рова", "Санітарка", "77-С", 300);
                break;
            }

            case 4:
            {
                Employee.Show();
                Employee.Delete();
                break;
            }

            case 5:
            {
                Employee.ShowMyJournal();
                break;
            }

            case 6:
            {
                Console.WriteLine("Чао-какао!");
                return;
            }
            }
        }