10. In the arithmetic sequence $\left\{a_{n}\right\}$, if $\frac{a_{11}}{a_{10}}<-1$, and the sum of the first $n$ terms $S_{n}$ has a maximum value. Then when $S_{n}$ takes the smallest positive value, $n=(\quad)$.
(A) 1
(B) 10
(C) 19
(D) 20