//public methods public static void ChgSensorThreshold(float newThreshold) { _sc.SetThreshold(newThreshold); Console.WriteLine(_sc.GetThreshold()); }