If you plug a dryer into an outlet that is turned off by a wall switch, the dryer will not receive any power, and it will not function. When an outlet is turned off by a wall switch, it cuts off the electrical supply to that outlet, rendering it inactive.
When you plug an electrical appliance like a dryer into an outlet, it requires a continuous supply of electricity to operate. The wall switch acts as a control mechanism to turn the power on or off to the outlet. If the switch is turned off, the circuit is broken, and electricity cannot flow to the dryer.
Therefore, if you want to use the dryer, you must ensure that the wall switch is turned on, allowing electricity to flow to the outlet. Always make sure the wall switch is in the "on" position before attempting to use any electrical appliance.