Esempio n. 1
0
        static void Main(string[] args)
        {
            var employee = new Employee();
            employee.FirstName = "Todor";
            employee.LastName = "Kostov";
            employee.Salary = 900;
            employee.Bonus = 200;
            employee.Position = "Sales Consultant";

            employee.PrintNames();
            employee.CalculateAllIncome();
            employee.CalculateBalance();
        }
Esempio n. 2
0
        public static void Main()
        {
            Employee emplyee = new Employee();
            emplyee.FirstName = "Pesho";
            emplyee.LastName = "Ivanov";
            emplyee.Salary = 3000;
            emplyee.Bonus = 2000;
            emplyee.Position = "Boss";

            emplyee.PrintNames();
            emplyee.CalculateAllIncome();
            emplyee.CalculateBalance();
        }