C# Class Utility.BaseTypes.Character

Mostrar archivo Open project: aistrate/RegexParser

Public Methods

Method Description
AsString ( this chars ) : string
IsDigit ( this c ) : bool
IsHexDigit ( this c ) : bool
IsLetter ( this c ) : bool
IsOctDigit ( this c ) : bool
JoinStrings ( this strings ) : string
JoinStrings ( this strings, string separator ) : string
Show ( this c ) : string

Converts a character into C# character-literal format (ready to be pasted into a program), including the single quotes.

ShowLitChar ( this c ) : string
ShowVerbatim ( this s ) : string

Converts a string into C# *verbatim* string-literal format (ready to be pasted into a program), including the double quotes. Verbatim string literals start with a '@' character (before the opening quote).

Method Details

AsString() public static method

public static AsString ( this chars ) : string
chars this
return string

IsDigit() public static method

public static IsDigit ( this c ) : bool
c this
return bool

IsHexDigit() public static method

public static IsHexDigit ( this c ) : bool
c this
return bool

IsLetter() public static method

public static IsLetter ( this c ) : bool
c this
return bool

IsOctDigit() public static method

public static IsOctDigit ( this c ) : bool
c this
return bool

JoinStrings() public static method

public static JoinStrings ( this strings ) : string
strings this
return string

JoinStrings() public static method

public static JoinStrings ( this strings, string separator ) : string
strings this
separator string
return string

Show() public static method

Converts a character into C# character-literal format (ready to be pasted into a program), including the single quotes.
public static Show ( this c ) : string
c this
return string

ShowLitChar() public static method

public static ShowLitChar ( this c ) : string
c this
return string

ShowVerbatim() public static method

Converts a string into C# *verbatim* string-literal format (ready to be pasted into a program), including the double quotes. Verbatim string literals start with a '@' character (before the opening quote).
public static ShowVerbatim ( this s ) : string
s this
return string