C# Computer Science Homework(Abstract Class)
Help creating console application for the following:
1. Declare an abstract class (not an interface) called “EmployeeSalary” and create a concrete class called “DoctorSalary” to manage the salary information by inheriting the EmployeeSalary class.
2. Use a List collection whose elements are DoctorSalary classes to manage the data below.
3. Write LINQ query for each of the following and display each result separately from the List collection.
(a) Sort the List by Name in ascending order and display EmpNumber, Name, NumPatient, BonusPerPatient, and BaseSalary
(b) For each object in the List calculate NumPatient * BonusPerPatient + BaseSalary and name the Calculated column TotalSalary. Display the List of objects in ascending order of TotalSalary
(c) Display the List of objects whose TotalSalary is greater than $15,000 in ascending order of TotalSalary.
In the item (b) and (c), “Display the List of object” means you should display EmpNumber, Name, NumPatient, BonusPerPatient, BaseSalary, and TotalSalary
Data:
EmpNumber Name NumPatient BonusPerPatient BaseSalary
83 James Bond 150 $50 $6,000
24 Matthew Kennedy 190 $50 $6,500
7 Luck Scott 156 $53 $6,300
77 James Young 176 $49 $6,300
39 Michael Fielder 123 $79 $7,000
68 Robert King 106 $48 $7,000
11 years ago 5
- Statistics for AE
- Description essay
- statistic
- Nutrition homework help
- Please no copy and Paste!!
- Fixed and Variable Costs
- E17-20B (Fair Value Measurement Issues) Assume the same information as in E17-19B for Thomlin Company. In addition, assume that the investment in the Tiger Inc. stock was sold during 2015 for $278,000. At December 31, 2015, the following information relat
- HRMT Question 3
- CMIS 102 Discussion Question
- BUS 697 Week 2 Hexagon of Excellence