У меня есть проблема с String.Format, с которой мне нужна помощь:
string Placeholder = @"(function({0}, $, undefined) { {1} }( window.{0} = window.{0} || {}, jQuery));";
string output = string.Format(Placeholder, "Value1", "Value2");
Следующее исключение распространяется на String.Format
'string.Format (Placeholder, "Value1"," Value2 ") 'вызвала исключение типа' System.FormatException 'string {System.FormatException}
Есть идеи почему?