Those atoms which have all orbitals filled with paired electrons are called diamagnetic and those which have unpaired electron are paramagnetic.
Diamagnetic materials are repelled by a magnetic field and paramagnetic are weakly attracted towards magnetic field.
C2H6(ethane) which has all orbitals filled with paired elctron is dimagnetic.
Regards