Let $X$ be a connected metric space, let $A \subseteq X$ be a connected set. Let $\mathcal{C}$ be a connected component of $X-A$. Show that $X-\mathcal{C}$ is connected.
Ok, so Im been dealing with this exercise for a while, and I am completely stucked.
I've managed the following (which I don't know if it is even true.)
Since $X-A \subseteq \mathcal{C}$ we have that $X-\mathcal{C} \subseteq A$. Now since $A$ is a connected set, and $\mathcal{C}$ is closed (since it's a connected component), one way to prove the statement is to see that $X-\mathcal{C}$ is closed in $A$ because in this case, $X-\mathcal{C}$ would be open and closed in $A$, connected which implies $A=X-\mathcal{C}$ and therefore $X-\mathcal{C}$ is connected.
However Im not being able to show that $X-\mathcal{C}$ is closed in $A$, (im not sure if in fact it is).
If not, If its possible, I would like a hint, not a complete solution!