The reason for this is that in almost all ionic compounds, there is an equivalent transfer and acceptance of the same number of electrons, whereby each transfer results in a + and receiver is a -. This ultimately cancels out when the ions come close together.