public struct Level { private static int _currentLevel=1; public static bool BonusLvl; public static int CurrentLevel { get { return _currentLevel; } set { _currentLevel = value; BonusLvl=!System.Convert.ToBoolean(value % 5); } } }