Class Char
Provides globally reusable single-character constants for common punctuation, whitespace, and separator characters used throughout the Scylla framework. Using these constants avoids boxing and ensures consistency across the codebase.
Inherited Members
Namespace: Scylla.Core
Assembly: ScyllaCore.dll
Syntax
public static class Char
Remarks
For the string equivalents of these characters, see Str.
Fields
BACKSLASH
A backslash character (</code>), commonly used as an escape character.
Declaration
public const char BACKSLASH = '\\'
Field Value
| Type | Description |
|---|---|
| char |
COMMA
A comma character (,), commonly used as a list separator.
Declaration
public const char COMMA = ','
Field Value
| Type | Description |
|---|---|
| char |
EMPTY
The null character (\0), representing the default value of char.
Can be used as a sentinel value to indicate an unset or missing character.
Declaration
public const char EMPTY = '\0'
Field Value
| Type | Description |
|---|---|
| char |
MINUS
A minus / hyphen character (-).
Declaration
public const char MINUS = '-'
Field Value
| Type | Description |
|---|---|
| char |
PERIOD
A period / full stop character (.).
Declaration
public const char PERIOD = '.'
Field Value
| Type | Description |
|---|---|
| char |
PLUS
A plus sign character (+).
Declaration
public const char PLUS = '+'
Field Value
| Type | Description |
|---|---|
| char |
QUOTATION_MARK
A double-quotation mark character (").
Declaration
public const char QUOTATION_MARK = '"'
Field Value
| Type | Description |
|---|---|
| char |
SLASH
A forward slash character (/), commonly used as a path separator.
Declaration
public const char SLASH = '/'
Field Value
| Type | Description |
|---|---|
| char |
SPACE
A single space character ( ).
Declaration
public const char SPACE = ' '
Field Value
| Type | Description |
|---|---|
| char |
TAB
A horizontal tab character (\t).
Declaration
public const char TAB = '\t'
Field Value
| Type | Description |
|---|---|
| char |