Which of the following pairs of elements is most likely to form an ionic compound?

β€’ magnesium and sodium

β€’ nitrogen and sulfur

β€’ oxygen and chlorine

β€’ magnesium and chlorine

β€’ carbon and fluorine