Contravariant Hom Functor maps Colimits to Limits

Theorem
Let $\mathbf{Set}$ be the category of sets.

Let $\mathbf C$ be a locally small category.

Let $C$ be an object of $\mathbf C$.

Let $\hom \paren {\cdot, C}: \mathbf C \to \mathbf{Set}$ be the contravariant hom functor based at $C$.

Then $\hom \paren {\cdot, C}$ maps every colimit to a limit, in that:


 * $\hom \paren { {\varinjlim \,}_j \,D_j, C} \cong {\varprojlim \,}_j \, \hom \paren {D_j, C}$

for every diagram $D: \mathbf J \to \mathbf C$.