Switch a square wave onto an RC or RL circuit and raise the frequency: the capacitor heads towards a short circuit and the inductor towards an open circuit.