Changes

Jump to: navigation, search

Formatting Strings in C Sharp

1 byte added, 16:24, 24 January 2008
A Simple C# String Format Example
</pre>
Let's quickly review the String.Format() method call. The ''format string'' contains 3 place holder holders indicated by {0}, {1} and {2}. Following the format string are the arguments to be used in each place holder. For example, {0} is replaced by the first argument (the number 2), the {1} by the second argument (the string "house) and so on.
== Using Format Controls ==

Navigation menu