What are the solutions to the equation x(x + 1) = 0?

A. x = 0 only
B. x = 1 only
C. x = 0 or x = 1
D. x = 0 or x = -1