System.Windows.Forms.MathHelper.InRange C# (CSharp) Method

InRange() public static method

public static InRange ( float val, float min, float max ) : bool
val float
min float
max float
return bool
        public static bool InRange(float val, float min, float max)
        {
            return (val >= min && val <= max);
        }

Same methods

MathHelper::InRange ( int val, int min, int max ) : bool