When magnesium is added to dilute hydrochloric acid, a salt and hydrogen gas are formed. What is the equation for this reaction?
- A$\text{Mg} + \text{HCl} \rightarrow \text{MgCl} + \text{H}$
- B$\text{Mg} + \text{H}_2\text{Cl}_2 \rightarrow \text{MgCl}_2 + \text{H}_2$
- C$\text{Mg} + 2\text{HCl} \rightarrow \text{MgCl}_2 + \text{H}_2$
- D$\text{Mg} + 2\text{HCl} \rightarrow \text{MgCl}_2 + 2\text{H}$