Question: C# I need to create an read file and insert each into an array. I need a worker class and 3 child class EreHire, Employee,
C#
I need to create an read file and insert each into an array. I need a worker class and 3 child class EreHire, Employee, and Retiree. Also sort using bubble sort them and out put each child class in XML.
this is the txt file.
I NEED n EXAMPLE OF HOW TO DO THE READFILE (read and insert it into the array) ALSO, SORTING USING BUBBLE SORT. PLEASE
Workertype EmployeeID Firstname Lastname Offerextendeddate Offeracceptancedate Employmentdate Jobtitle Monthlysalary Retirementprogram Retirement date Retiree 47 Steve Marshall 2/3/1999 TRS 2/1/2022 Employee 12 Sally Bannon 5/30/2018 BusDriver 2222.22 PreHire 432 Joe Sorg 1/2/2023 1/4/2023 1/31/2023 PreHire 452 Larry Brown 1/3/2023 1/11/2023 1/17/2023 Retiree 77 Betty Jenkins 11/4/2000 TRS 9/15/2020 Employee 112 Ann Duncan 5/15/2002 AssistantProfessor 4444.44 PreHire 555 Joe Sorg 12/15/2022 1/4/2023 1/17/2023 Employee 88 Jim Smith 8/15/2020 ITAssociate II 5555.55 Retiree 23 Alex Mizer 3/2/1980 ORP 6/1/2009
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
