Which of the following is a redox reaction?
A. \(\mathrm{NaCl}+{\mathrm{KNO}}_{3}\to {\mathrm{NaNO}}_{3}+\mathrm{KCl}\)
B. \(\mathrm{Mg}(\mathrm{OH}{)}_{2}+2{\mathrm{NH}}_{4}\mathrm{Cl}\to {\mathrm{MgCl}}_{2}+2{\mathrm{NH}}_{4}\mathrm{OH}\)
C. \({\mathrm{CaC}}_{2}{\mathrm{O}}_{4}+2\mathrm{HCl}\to {\mathrm{CaCl}}_{2}+{\mathrm{H}}_{2}{\mathrm{C}}_{2}{\mathrm{O}}_{4}\)
D. \(\mathrm{Zn}+2\mathrm{AgCN}\to 2\mathrm{Ag}+\mathrm{Zn}(\mathrm{CN}{)}_{2}\)