Compact strong magnetic field proof cylinder switch that can be used in a strong magnetic field environment.