コード例 #1
0
        static void Main(string[] args)
        {
            var technicaEmployee = new TechnicalEmployee("Libby");
            var businessEmployee = new BusinessEmployee("Bob");

            Console.WriteLine(technicaEmployee.EmployeeStatus());
            Console.WriteLine(businessEmployee.EmployeeStatus());

            Console.ReadKey();
        }
コード例 #2
0
ファイル: Test.cs プロジェクト: n873/Microsoft-DEV204.2x
        public void BusinessEmployee()
        {
            var employee = new BusinessEmployee("Winter");

            Assert.Equal("3 Winter with a budget of 1000.", employee.EmployeeStatus());
        }