C# String Formating
August 2, 2008 · Print This Article
String formating is pretty easy task in C# or ASP.NET
To format date you use:
{0:d}
To format numers to contains semicolon as thousand separator you use:
{0:n}
The easiet way to format a string is to use String.Format method.



















Comments
Got something to say?
You must be logged in to post a comment.