Question: I'm doing a C# project using VB 2017 Create an employee class. Include the following attributes as properties. First Name Last Name Rate of Pay

I'm doing a C# project using VB 2017

Create an employee class. Include the following attributes as properties.

First Name Last Name Rate of Pay Job Title Hire Date

Add an instance method that returns back the employee's full name.

Add another instance method that calculates the gross amount to pay given the hours the employee worked in the pay period.

Make sure to create useful constructors for your class.

From the main method, instantiate the employee class and populate the properties.

Output the full name using the instance method you created. Output the gross pay given that the employee worked 40 hours using the other instance method that you created.

Make sure to use the proper types in your properties and return types for your methods.

Create an employee class. Include the following attributes as properties.

so far all I have is this and im stuck ;-;

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;

namespace Lesson_5 { class Program { static void Main(string[] args) { EmployeeClass Payperiod = new EmployeeClass(); Payperiod.FirstName = FirstName; Payperiod.LastName = LastName;

Console.WriteLine(Payperiod.ToString()); } }

class EmployeeClass { private string EmployeeFirstName; private string EmployeeLastName;

public EmployeeClass (string Firstname, string LastName) { EmployeeFirstName = FirstName; EmployeeLastName = LastName; }

public string FirstName { get { return FirstName; } set { FirstName = value; } }

public string LastName { get { return LastName; } set { LastName = value; } } } }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!