String format
Extention method to string for String.Format
Source
public static string UseFormat(this string format, params object[] args)
{
return string.Format(format, args);
}
Example
void StringFormatTest()
{
var formatedText = "{0}-{1}-{2}".UseFormat(1, 2, 3);
}