Current $i$ is carried in a wire of length $L$. If the wire is turned into a circular coil, the maximum magnitude of torque in a given magnetic field $B$ will be
(A) $\frac{L^{2} i B}{2}$
(B) $\frac{L^{2} i B}{\pi}$
(C) $\frac{L^{2} i B}{4 \pi}$
(D) $\frac{L i^{2} B}{4 \pi}$