Let $C$ be a closed subset of $\Bbb R^n$ and $r$ be a positive real. Consider the set
$$ D = \{ y \in \Bbb R^n : \exists\ x \in C\ \text {such that}\ \|x-y\| = r \}.$$
Show that $D$ is a closed subset of $\Bbb R^n$. (where $\|\cdot\|$ is the usual or Euclidean norm on $\Bbb R^n$).
EDIT $:$
I have proved it by using sequences. But I want to prove it using continuous functions. Can we say that $D$ is the inverse image of a closed set under certain continuous function?
Let $(y_n)$ be a convergent sequence in $D$ with limit $y$. Then there is a sequence $(x_n)$ in $C$ such that $||x_n-y_n||=r.$
Now show that $(x_n)$ is bounded. Hence $(x_n)$ containes a convergent subsequence $(x_{n_k})$ with limit $x \in C$ $\quad$ ($C$ is closed !).
Then we have $||x_{n_k}-y_{n_k}||=r$ for all $k$.
With $k \to \infty$ we get $||x-y||=r$, thus $y \in D.$