Can I plug a generator into a dryer outlet
ABSOLUTELY NOT!! 
This is NEVER an option. 

You MUST use some form of transfer switch or interlock, along with the proper male inlet. Also, a male-to-male cord is called a "suicide cord" for a reason.