Is there a way to write a faster function ?
public static bool IsNumber( char Value )
{
if (Regex.IsMatch( Value.ToString( ), @"^[0-9]+$" ))
{
return true;
}
else return false;
}
I think, if I have to repat this some thousands time, it
could become very time consuming.
Thanks in advance,
P.S.
Is there in C# something similar to Delphi's sets ?
Comment