コード例 #1
0
        public void EmployeePayTypeTest_usingID()
        {
            EmployeeClass1 eC1     = new EmployeeClass1("Nick Foles", 54321, "Staff");
            string         payType = eC1.PayType(eC1.Id);

            Console.WriteLine(payType);
        }
コード例 #2
0
        public void EmployeePayTypeTest_usingTitle()
        {
            EmployeeClass1 eC1     = new EmployeeClass1("Rohit Sharma", 12345, "Manager");
            string         payType = eC1.PayType(eC1.Jobtitle);

            Console.WriteLine(payType);
        }