At some point of time, we need to parse a number which is represented in string format. C# has NumberStyles Enum which helps enormously for parsing. To proceed with the examples, you need to refer to System.Globalization namespace.
Read this post on diptimayapatra.wordpress.com