I am having trouble showing one direction of the proof that a locally compact Hausdorff space is compactly generated.
Specifically, my question is how do I show that: if X is a locally compact Hausdorff space and A is a subset of X with the property that $$A\cap K$$ is closed for every compact K, then A is closed.
HINT: If $A$ is not closed, there is a point $x\in(\operatorname{cl}A)\setminus A$. Let $U$ be an open nbhd of $x$ with compact closure, and let $K=\operatorname{cl}U$. Now consider $K\cap A$ to get a contradiction.