/// <summary> /// Returns a random number /// </summary> /// <param name="max">Maximum number</param> /// <returns>Random number between 0 and the max</returns> public int RandomNumber(int max) { return(FeaturesHelper.IsEnabled(2) ? CalculatorsHelper.RandomNumber(max) : CalculatorsHelper.BadRandomNumber(max)); }
public bool FeatureIsEnabled(int id) { return(FeaturesHelper.IsEnabled(id)); }