[]
Indicates whether the specified Unicode character is categorized as a control code.
public static bool IsControl(char c)
Type | Name | Description |
---|---|---|
char | c | A Unicode character. |
Type | Description |
---|---|
bool | true if c is a control code; otherwise, false. |
Indicates wether the character at the specified position in the specified string is a control code.
public static bool IsControl(string s, int index)
Type | Name | Description |
---|---|---|
string | s | A string. |
int | index | The character position in s. |
Type | Description |
---|---|
bool | true if the character at position index in s is a control code; otherwise, false. |