The gyrokinetic turbulence code GS2 was used to investigate the effects of plasma beta on linear, collisionless ion temperature gradient (ITG) modes and trapped electron modes (TEM) in National Compact Stellarator Experiment (NCSX) geometry. Plasma beta affects stability in two ways: through the equilibrium and through magnetic fluctuations. The first was studied here by comparing ITG and TEM stability in two NCSX equilibria of differing beta values, revealing that the high beta equilibrium was marginally more stable than the low beta equilibrium in the adiabatic-electron ITG mode case. However, the high beta case had a lower kinetic-electron ITG mode critical gradient. Electrostatic and electromagnetic ITG and TEM mode growth rate dependencies on temperature gradient and density gradient were qualitatively similar. The second beta effect is demonstrated via electromagnetic ITG growth rates dependency on GS2s beta input parameter. A linear benchmark with gyrokinetic codes GENE and GKV-X is also presented.