A proper closed subset of an affine curve is finite
Let $n\ge0$, let $W,K$ be ideals in $\mathbb C[X_1,\ldots,X_n]$, and write $Z(I)\subseteq\mathbb C^n$ for the common zero set of an ideal $I$. If $W$ is prime, $$\dim\bigl(\mathbb C[X_1,\ldots,X_n]/W\bigr)=1,\qquad K\nsubseteq W,$$ then $Z(W)\cap Z(K)$ is finite.