Changes

Jump to: navigation, search

Formatting Strings in C Sharp

No change in size, 18:05, 1 February 2016
m
Text replacement - "<google>ADSDAQBOX_FLOW</google>" to "<htmlet>adsdaqbox_flow</htmlet>"
There are 2 cats in my house and no dogs
</pre>
<googlehtmlet>ADSDAQBOX_FLOWadsdaqbox_flow</googlehtmlet>
Let's quickly review the String.Format() method call. The ''format string'' contains 3 place 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.

Navigation menu