NumericRange.IsInRange Method
Determines if a value of type double is in the current range.
Declaration
public bool IsInRange(double value)
Parameters
Type |
Name |
Description |
double |
value |
|
Returns
Determines if a value of type decimal is in the current range.
Declaration
public bool IsInRange(decimal value)
Parameters
Type |
Name |
Description |
decimal |
value |
|
Returns
Determines if a value of type long is in the current range.
Declaration
public bool IsInRange(long value)
Parameters
Type |
Name |
Description |
long |
value |
|
Returns
Determines if a value of type ulong is in the current range.
Declaration
public bool IsInRange(ulong value)
Parameters
Type |
Name |
Description |
ulong |
value |
|
Returns
Determines if a value of unknown type is in the current range. Returns false
if the type
is unsupported.
Declaration
public bool IsInRange(object? value)
Parameters
Type |
Name |
Description |
object |
value |
|
Returns