private static void GetEmployeeWithHighestSalary(string[] v) { string compName = v[0]; if (!companies.ContainsKey(compName)) { Console.WriteLine("Could not GetEmployeeWithHighestSalary"); return; } Company company = companies[compName]; Console.WriteLine(company.GetEmployeeWithHighestSalary()); }