In an embodiment, a method includes forming a multilayer stack over a
semiconductor substrate, the multilayer stack including alternating
semiconductor nanostructures and dummy nanostructures; forming lower source / drain regions, wherein a lower
semiconductor nanostructure of the
semiconductor nanostructures extends between the lower source / drain regions; forming an upper source / drain region over the lower source / drain region; removing the dummy nanostructures to form a first opening between the lower
semiconductor nanostructures and a second opening between the upper
semiconductor nanostructures; forming a first
metal-containing layer around the upper semiconductor
nanostructure and in the second opening; exposing a surface of the first
metal-containing layer to a first molecular inhibitor to form a first
passivation layer on the surface of the first
metal-containing layer; and forming a lower gate
electrode around the lower semiconductor
nanostructure and in the first opening. The embodiment of the invention also relates to a
semiconductor device and a forming method thereof.