Question
c#visual stutio thank you 1. Define a structure named EmployeeData that contains a string named EmployeeName, an integer named EmployeeID, and a decimal named EmployeePay.
c#visual stutio thank you
1. Define a structure named EmployeeData that contains a string named EmployeeName, an integer named EmployeeID, and a decimal named EmployeePay. Define a variable named Boss that is an instance of EmployeeData. then Assign the following values to the attributes of Boss
a.EmployeeName gets the value from the textbox txtName. b.EmployeeID gets the value from the textbox txtID. c.EmployeePay gets the value from the textbox txtPay.
f.Add a constructor to the structure EmployeeData which sets EmployeeName to unknown, EmployeeID to -1, and EmployeePay to 0.0m.WorkersEmployeeData
Write each of the following instructions.
Define a list of Workers named currentEmployees. Define a variable named newEmployee that is an instance of the structure EmployeeData. Add newEmployee to currentEmployees. Copy the value of the first member of currentEmployees into newEmployee.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started