public static class StringExtensions
{
public static string
FormatWith(this string
source, params object[]
parameters)
{
return
string.Format(source, parameters);
}
}
then you can "{0}{1}".FormatWith(a,b)
No comments:
Post a Comment