Step 1: Understanding the Concept
The M shell has principal quantum number \(n = 3\).
Step 2: Orbitals
Number of orbitals in a shell is \(n^{2} = 9\) (one s, three p and five d).
Step 3: Electrons
Maximum electrons are \(2n^{2} = 2\times 9 = 18\).
Final Answer:
The M shell has 9 orbitals and 18 electrons.
\[ \boxed{\text{(B) }9,18} \]