Person.cs

using system;
namespace Persons;
{
	class Person
	{

		private string name;
		private string DOB;

		public Person(string name, string DOB)
		{
			this.name = name;
			this.DOB = DOB;
		}
		public string getName()
		{
			return name;
		}

		public string getDOB()
		{
			return DOB;
		}
	}
}

DoctorPerson.cs

using system;
namespace Persons;
{
	class DoctorPerson:Person
	{
		private string dateEmployed;
		private string specialty;
		
		public DoctorPerson(string dateEmployed, string speciality)
		{
			this.dateEmployed=dateEmployed;
			this.specialty=specialty;
		}
		public string getDateEmployed()
		{
			return dateEmployed;
		}
		public string getSpecialty()
		{
			return specialty;
		}
	}
}

PatientPerson.cs
using system;
namespace Persons;
{
	class PatientPerson:Peson
	{
		private string employer;
		private string insuranceCo;
		private Treatment[] treat;
		
		public PatientPerson(string employer, string insuranceCo)
		{
			this.employer = employer;
			this.insuranceCo = insuranceCo;
		}
		public Treatment[] getTreatments()
		{
			return treat;
		}
	}
}

Treatment.cs

using system;
namespace Persons;
{
	class Treatment
	{
		private string date;
		private string startTime;
		private string endTime;
		
		public Treatment(string date, string startTime, string endTime)
		{
			this.date=date;
			this.startTime = startTime;
			this.endTime = endTime;
		}
		public string getDate()
		{
			return date;
		}
		public string getStartTime()
		{
			return startTime;
		}
		public string getEndTime()
		{
			return endTime;
		}
	}
}
		
			

1