Changes

Jump to: navigation, search

Formatting Strings in C Sharp

No change in size, 20:00, 27 October 2016
m
Text replacement - "<table border="0" cellspacing="0">" to "<table border="0" cellspacing="0" width="100%">"
<googlehtmlet>BUY_CSHARP_ESSENTIALScsharp</googlehtmlet>
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.
<googlehtmlet>BUY_CSHARP_ESSENTIALScsharp</googlehtmlet>
 
<htmlet>ezoicbottom</htmlet>
<hr>
<table border="0" cellspacing="0" width="100%">

Navigation menu