Where do you put the ground wire on a new switch if there are only black and white wires coming from the box?

A) Attach to black wire
B) Attach to white wire
C) Not necessary
D) Consult an electrician