Thursday, July 29, 2010

Checking if a string is numeric in C#

 int sidNumber;
bool isInteger = Int32.TryParse(sid, out sidNumber);

No comments: