Let $\mathcal{H}$ be a Hilbert space, and let $T\in K(\mathcal{H})$ be a compact operator. There exists a theorem in the following way: "$T(\mathcal{H})$ is closed in $\mathcal{H}$ if, and only if, $\dim(T(\mathcal{H}))<\infty$."
Can anybody give me a reference for this theorem, please?