p-GymReg / CSC330_CSharp_Midterm / Employee.cs
Employee.cs
Raw
namespace CSC330_CSharp_Midterm
{
    public class Employee : Person
    {
        // will use automatic properties
        /*
        private string etype;
        */

        public Employee()
        {
        }        

        public string Etype { get; set; }        

        public override string ToString()
        {
            return "Name: " + Name + ". DOB: " + DOB + ". Address: " + Address + ". Etype" + Etype;
        }        
    }
}