IsNumeric C#

Discussion in 'Programming General' started by Skeletron, Mar 28, 2007.

IsNumeric C#
  1. Unread #1 - Mar 28, 2007 at 8:46 PM
  2. Skeletron
    Referrals:
    0

    Skeletron Guest

    IsNumeric C#

    Well, since C# did not have a IsNumeric function I had to make one for my project in C#.

    Basically, IsNumeric will turn a string into a integer. If it catches a error whe converting then it ill return a false value 'else' it will return a true value.

    There are many other methods that I can do to make this work like Convert.Int32 but anyway, this works fine.

    I did not want to include Visual Basic namespace because it the processing power to incorporate VB.net into C# while compiling is quiet large.

    Usage:
     
< Jar | picturebox location cannot be picturebox1 location >

Users viewing this thread
1 guest


 
 
Adblock breaks this site