public static IsSymbol ( string text ) : bool | ||
text | string | |
Результат | bool |
public static bool IsSymbol(string text)
{
var result = false;
if (!string.IsNullOrEmpty(text) && (char.IsLetter(text[0]) || text[0] == '_'))
{
result = true;
}
return result;
}