Example #1
0
        private static void GetAverageEmployeeSalary(string[] args)
        {
            Company company = companies[args[0]];

            Console.WriteLine($"The average salary at {company.Name} is: {company.GetAverageEmployeeSalary():F2}");
        }
Example #2
0
        private static void DecreaseSalaries(string[] args)
        {
            Company company = companies[args[0]];

            company.DecreaseSalaries(double.Parse(args[1]));
        }