String format

        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);
        }

Description

Extention method to string for String.Format

Details

Double click on the code to select all.

 

;