according to the ideas of william smith, which rock layers are the same age

A. Layers with different fossils

B. Layers made of the same chemicals

C. Layers of equal density

D. Layers with similar fossils.