But because I know that the current through the capacitor is c dv/dt and I know the current through the capacitor, and I know this because it's the same as the current through the inductor, and the inductor current can't change instantaneously, so that's the only reason this works. 