String format options for int in .NET

Posted by Sruly on Stack Overflow See other posts from Stack Overflow or by Sruly
Published on 2010-04-11T08:43:57Z Indexed on 2010/04/11 8:53 UTC
Read the original article Hit count: 239

Filed under:
|

I want to convert an int to a string but if it is a single digit I want to add a leading 0

Is that one of the built in format options? or do I have to do it manually?

© Stack Overflow or respective owner

Related posts about c#

Related posts about string