ToStringFormat

public static string ToStringFormat(this string stringFormat, params string[] stringParams)
        {
            return string.Format(stringFormat, stringParams);
        }
Example:
Console.WriteLine("{0} {1}".ToStringFormat("Parameter 1", "Parameter 2"));

Console.WriteLine("\nPress [Enter] key to exit.");
while (Console.ReadKey(true).Key != ConsoleKey.Enter) { }

Description

StringFormat Extension Style

Details

Double click on the code to select all.

 

;