Let $X$ and $Y$ be topological spaces. Let $X \times Y$ be given the product topology, let $\pi_{1}:X\times Y \to X$ be the canonical projection.
Now suppose $C$ is a closed subset of $X \times Y$, does $\pi_{1}(C)$ necessarily have to be closed?
I have been told you have to use the fact that the projection of open rectangles is open in $X$. As well as the fact that the projection of open subsets of $X \times Y$ are also open in $X$, but I can't figure it out still.