The true is that both substances will have 2 * 6.02* 10^23 = 12.04 * 10^23 particles (may be molucules or atoms(.
Also, the two moles of each substance will have different masses, because you have to multiply the number of moles of each substance by the respective molar mass (or atomic mass).
H2 is a covalent bond. Each hydrogen atom shares its single electron to the other, so each hydrogen has two valence electrons (full outer shell).
Methane CH4 CH4 1 hexane C6H14 CH3(CH2)4CH3 5
ethane C2H6 CH3CH3 1 heptane C7H16 CH3(CH2)5CH3 9
propane C3H8 CH3CH2CH3 1 octane C8H18 CH3(CH2)6CH3 18
butane C4H10 CH3CH2CH2CH3 2 nonane C9H20 CH3(CH2)7CH3 35
pentane C5H12 CH3(CH2)3CH3 3 decane C10H22 CH3(CH2)8CH3 75