C# Language Formatting a string

Download C# Language for free

Example

Use the String.Format() method to replace one or more items in the string with the string representation of a specified object:

String.Format("Hello {0} Foo {1}", "World", "Bar") //Hello World Foo Bar
Formatting using ToString