Under which of the following conditions is $\boldsymbol{k}$-fold cross-validation the same as leave-one-out cross-validation ?
A. The training set and test set have the same number of examples
B. The training set and tuning set have the same number of examples
C. $k=1$
D. $k=n$, where $n$ is the total number of examples