You are on page 1of 2

namespace EmployeeApplication

{
internal class Class1
{
private long employee_ID;
private string firstName;
private string lastName;
private string position;
public Class1() {
this.employee_ID = 0;
this.firstName = "no first name";
this.lastName = "no last name";
this.position = "no position";
}
public Class1(long newID, string newFName, string newLName, string
newPosition)
{
this.employee_ID = newID;
this.firstName = newFName;
this.lastName = newLName;
this.position = newPosition;
}
public long Id
{
get {
return this.employee_ID;
}
set {
this.employee_ID = value;
}
}
public string FirstName
{
get {
return this.firstName;
}
set {
this.firstName = value;
}
}
public string LastName
{
get
{
return this.lastName;
}
set
{
this.lastName = value;
}
}
public string Position
{
get
{
return this.position;
}
set
{
this.position = value;
}
}
}
}

You might also like