public override bool Equals(object obj)
{
//Check for null and compare run-time types.
if (obj == null || this.GetType() != obj.GetType()) return false;
Professor p = (Professor)obj;
return (p._id == this._id);
}