Create a console project and set a reference to Microsoft.VisualBasic
In the case of IsNumeric, this is actually a pretty good idea in many cases.
The VB IsNumeric intrinsic function is pretty nicely designed. It is
culture-sensitive, and returns true if the data type is Boolean, Byte,
Decimal, Double, Integer, Long, SByte, Short, Single, UInteger, ULong, or
UShort. It also returns true if the parameter passed is a Char, String, or
Object that can be successfully converted to a number.
In short, if little is known about the data being evaluated, this can be
just the ticket. OTOH, it will not be as fast as, for example,
Double.TryParse, which can be used if the expected value falls withing
certain parameters and/or something is known about the data being evaluated.
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Numbskull
Show me your certification without works,
and I'll show my certification
*by* my works.