Two rings of radius r and nr made up of the same material have the ratio of the moment of inertia about an axis passing through the center is 1:8. The value of n is:

A. 2
B. 3
C. 4
D. 5