Answer: The number of moles of sodium chloride in the solution is
Step-by-step explanation:
Molarity of the solution is defined as the number of moles that are present in one liter of solution.
The equation used to calculate the molarity of the solution follows:

We are given:
Volume of solution = 1000 mL = 1 L (Conversion factor: 1 L = 1000 mL)
Molarity of the solution = 0.50 moles/ L
Putting values in above equation, we get:

Hence, the number of moles of NaCl in solution is 0.5 moles.