Edit

Share via


Char.IsAsciiHexDigit(Char) Method

Definition

Indicates whether a character is categorized as an ASCII hexademical digit.

C#
public static bool IsAsciiHexDigit(char c);

Parameters

c
Char

The character to evaluate.

Returns

true if c is a hexademical digit; otherwise, false.

Remarks

This method determines whether the character is in the range '0' through '9', inclusive, 'A' through 'F', inclusive, or 'a' through 'f', inclusive.

Applies to

Product Versions
.NET 7, 8, 9