Let $(X,d_{X})$ be a metric space, and let $(Y,d_{Y})$ be a complete metric space. The subspace $(C(X\to Y),d_{\infty})$ is a complete subspace of $(B(X\to Y),d_{\infty})$. In other words, every Cauchy sequence of functions in $C(X\to Y)$ converges to a function in $C(X\to Y)$.
MY ATTEMPT
Here, $B(X\to Y)$ represents the set of bounded functions from $X$ to $Y$, $C(X\to Y)$ is the set of bounded and continuous functions from $X$ to $Y$ and $d_{\infty}$ is the sup norm distance.
I was thinking about proving that $B(X\to Y)$ is complete, whence we conclude that $C(X\to Y)$ is complete, since it is already closed.
However I am not able to do so. Could someone provide a proof based on such line of reasoning? Any other approach is welcome as well.