Esempio n. 1
0
        static void Main(string[] args)
        {
            IQuittable emplQuit = new Employee();

            emplQuit.Quit();
            Console.ReadLine();
        }
        static void Main(string[] args)
        {
            IQuittable quittable = new Employee();

            quittable.Quit();
            Console.ReadLine();
        }
        static void Main(string[] args)
        {
            Employee employee = new Employee();

            employee.FirstName = "Sample";
            employee.LastName  = "Student";
            employee.SayName();
            employee.Quit();
        }
Esempio n. 4
0
        static void Main(string[] args)
        {
            Employee employee = new Employee()
            {
                ID = 567890
            };

            employee.Quit();
        }
Esempio n. 5
0
        static void Main()
        {
            Employee employee = new Employee();

            employee.Quit();

            IQuittable emIqt = new Employee();

            emIqt.Quit();
            Console.ReadLine();
        }
Esempio n. 6
0
        static void Main(string[] args)
        {
            IQuittable Forest = new Employee()
            {
                FirstName = "Forest", LastName = "Moher"
            };

            Forest.Quit();

            Console.ReadLine();
        }
Esempio n. 7
0
        static void Main(string[] args)
        {
            Employee employee = new Employee();

            employee.FirstName = "Sample";
            employee.LastName  = "Student";
            employee.SayName();
            IQuittable quittable = new Employee();

            quittable.Quit();
            Console.ReadLine();
        }
Esempio n. 8
0
        static void Main(string[] args)
        {
            Employee human = new Employee();

            human.firstName = "Sample";
            human.lastName  = "Student";
            human.SayName();

            IQuittable example = new Employee();

            example.Quit();

            Console.ReadLine();
        }
        static void Main(string[] args)
        {
            Employee employee = new Employee()
            {
                FirstName = "Sample", LastName = "Student"
            };

            employee.SayName();

            IQuittable iQuit = new Employee();

            iQuit.Quit();

            Console.ReadLine();
        }
        static void Main(string[] args)
        {
            Employee employee1 = new Employee()
            {
                FirstName = "Sample", LastName = "Student", Id = 54321
            };
            Employee employee2 = new Employee()
            {
                FirstName = "Sample", LastName = "Student", Id = 12345
            };

            employee1.SayName();
            employee2.SayName();
            Console.WriteLine(employee1.Id == employee2.Id);
            Console.WriteLine(employee1.Id != employee2.Id);
            IQuittable quittable = new Employee();

            quittable.Quit();
            Console.ReadLine();
        }
        static void Main(string[] args)
        {
            IQuittable quit = new Employee("Sample", "Student");

            quit.Quit();
        }
Esempio n. 12
0
        static void Main(string[] args)
        {
            IQuittable quittable = new Employee();

            quittable.Quit();
        }