Well, this is a simple problem, but C# made me learn new things when I wanted to know if a string is in a numeric format or not.
There is one function named tryparse() which does this work for us. Here is the reference to msdn page:
http://msdn.microsoft.com/en-us/library/f02979c7.aspx
** I believe when there are so many quality tutorials over the web, I do not really need to write one of my own unless the topic is something unique**
Monday, June 6, 2011
Subscribe to:
Posts (Atom)