Changes

Formatting Strings in C Sharp

1 byte removed, 18:53, 1 April 2009
no edit summary
The general syntax of the String.Format() method is as follows:
String.Format(''"format string", ''arg1'', ''arg2'', .... );
The ''format string'' is the string into which the values will be placed. Within this string are ''place holders'' which indicate the location of each value within the string. Place holders take the form of braces surrounding a number indicating the corresponding argument to be substituted for the place holder. Following on from the ''format string'' is a comma separated list of arguments. There must be an argument for each of the place holders.