Looking for c# Keywords? Try Ask4Keywords

C# Language Выделение фигурных скобок внутри выражения String.Format ()


пример

string outsidetext = "I am outside of bracket";
string.Format("{{I am in brackets!}} {0}", outsidetext);

//Outputs "{I am in brackets!} I am outside of bracket"