What system of moral beliefs formed the center of Chinese thought and culture during the Ming and Qing dynasties?

A. Buddhism
B. Hinduism
C. Confucianism
D. Shintoism

A. Or C.?