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

public sealed override bool Equals(object o){if (o is AnyObjectId){return Equals((AnyObjectId)o);}else{return false;}}
