If all the whole numbers from 1 to 1000 inclusive are written down, which digit appears the most number of times?
A) 1
B) 0
C) 5
D) 4