System.Uri.IsHexDigit Method

Determines whether a specified character is a valid hexadecimal digit.

Syntax

public static bool IsHexDigit (char character)

Parameters

character
The character to validate.

Returns

A bool value that is true if the character is a valid hexadecimal digit; otherwise false.

Remarks

Hexadecimal digits are the digits 0 to 9 and the letters A-F or a-f.

Requirements

Namespace: System
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0