Method | Description | |
---|---|---|
EmptyToNull ( string a ) : string |
If a is empty, returns null
|
|
IfNullOrEmpty ( string a, string b ) : string |
Like null coalescing operator (??) but including empty strings
|
|
TryParse ( string u ) : int | ||
TryParse ( string u, int defaultValue ) : int |
public static EmptyToNull ( string a ) : string | ||
a | string | |
return | string |
public static IfNullOrEmpty ( string a, string b ) : string | ||
a | string | |
b | string | |
return | string |
public static TryParse ( string u, int defaultValue ) : int | ||
u | string | |
defaultValue | int | |
return | int |