public boolean equals(Object obj) {if (this == obj)return true;if (obj == null)return false;if (getClass() != obj.getClass())return false;return true;}
public override bool Equals(object obj){if (object.ReferenceEquals(obj, this)){return true;}if (object.ReferenceEquals(null, obj)){return object.ReferenceEquals(null, this);}if (this.GetType() != obj.GetType()){return false;}return true;}