Joining Strings - Part 4 : String.Format
[.NET, Under The Hood]
This is Part 4 in the series of Joining stings
- Joining Strings - Part 1 : The + Operator
- Joining Strings - Part 2 : String.Concat
- Joining Strings - Part 3 : StringBuilder
- Joining Strings - Part 4 : String.Format
The fourth way to join strings is using the String.Format method.
At it’s core, String.Format
operates by inserting numbered placeholders into a string and its parameters as arguments to the call