Let current in the inductance is iL, through the capacitor is iC and through resistance is iR at any instance as shown in the figure.

According to the Kirchoff's junction law, iR=iL+iC.
At resonance XC=XL hence iL=iC. Also, current through the capacitor and inductor have phase difference of πrad. Therefore, they will form destructive interference and hence the current through the resistance will be 0.
