public override bool Equals(object obj) { if (obj == null) { return false; } return (base.GetType() == obj.GetType()); }