![]() |
|
home > news C#: String.Inject() - Format strings by key tokens C#: String.Inject() - Format strings by key tokensI generally prefer to use String.Format() instead of doing a bunch of string additions, but constantly find myself splitting the code onto multiple lines with an appended comment to keep track of the indices: string myString = string .Format( "{0 Read More......(read more) FFTF News Archives : News Articles Archives: Apr 2005 | Aug 2005 | Dec 2005 | Feb 2005 | Jul 2005 | Jun 2005 | Mar 2005 | May 2005 | Nov 2005 | Oct 2005 | Sep 2005 | Oct 2005 | Nov 2005 | Dec 2005 | Jan 2006 | Feb 2006 | Mar 2006 | Apr 2006 | May 2006 | Jun 2006 | July 2006 | August 2006 | September 2006 | October 2006 |
|