public final boolean equals(Object o) {if (o instanceof AnyObjectId) {return equals((AnyObjectId) o);}return false;}

public bool Equals(AnyObjectId other){return other != null ? Equals(this, other) : false;}
