Depends, do you want muscle to gain weight or just fat to gain weight
To gain weight just eat lots of fatty food, chocolate is a good one & muffins. For savory, eat microwave meals and english breakfast everyday.
If you want to build muscle, do above & also eat dairy. After this - exersice

