public boolean equals(Object other) {return (getClass() == other.getClass()) && this.equalsSameType(other);}

public override bool Equals(object other){return (this.GetType() == other.GetType()) && this.EqualsSameType(other);}
