Statement : In $\mathbb{R}^{n}$, if $U$ is open and $C \subset U$ is compact, show that there is a compact set $D$ such that $C \subset$ int$(D)$ and $D \subset U$.
I want to see if the proof is correct, and more over if it can be shortened. Also, what happens outside of $\mathbb{R^n}$? What hypotheses are essential for the result to hold?
My attempt : Let Bd$(C)$ denote boundary of C. Fix $y \in U$. By Hausdorff, for each $x \in C$, there are open balls $T_{x,y} \ni x$ and $V_{x,y} \ni y$ that don't intersect. Since Bd$(C)$ is a closed subset of $C$, finitely many of these cover Bd$(C)$. Close the finitely many balls, $\overline{T_{x,y}}$. Then, $D = C \cup {\overline{T_{x,y}}}$ is closed, bounded (because there are finitely many balls), hence compact, and contains $C$ in its interior.