Char.IsBetween(Char, Char, Char) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether a character is within the specified inclusive range.
public:
static bool IsBetween(char c, char minInclusive, char maxInclusive);
public static bool IsBetween (char c, char minInclusive, char maxInclusive);
static member IsBetween : char * char * char -> bool
Public Shared Function IsBetween (c As Char, minInclusive As Char, maxInclusive As Char) As Boolean
Parameters
- c
- Char
The character to evaluate.
- minInclusive
- Char
The lower bound, inclusive.
- maxInclusive
- Char
The upper bound, inclusive.
Returns
true
if c
is within the specified range; otherwise, false
.
Remarks
The method does not validate that maxInclusive
is greater than or equal
to minInclusive
. If maxInclusive
is less than
minInclusive
, the behavior is undefined.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.