CharExtensionsIsInRange Method
Tests a character to determine if it is between a specified character range
Namespace: Gemstone.CharExtensionsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.150 -- Release Build+64e3b411e1abfbd2d4d8a81e850c3909a0ce8731
public static bool IsInRange(
this char value,
char startOfRange,
char endOfRange
)
<ExtensionAttribute>
Public Shared Function IsInRange (
value As Char,
startOfRange As Char,
endOfRange As Char
) As Boolean
public:
[ExtensionAttribute]
static bool IsInRange(
wchar_t value,
wchar_t startOfRange,
wchar_t endOfRange
)
Gemstone.CharExtensions.CharExtensions.IsInRange = function(value, startOfRange, endOfRange);
- value Char
- Input character to process.
- startOfRange Char
- Beginning of range character.
- endOfRange Char
- End of range character.
Booleantrue is the character is within the range.In Visual Basic and C#, you can call this method as an instance method on any object of type
Char. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).