C# String.Format with '{' character
c#
Solution
Use: `{{`. By the way, this is answerable from the documentation:
To specify a single literal brace character in format, specify two leading or trailing brace characters; that is, "`{{`" or "`}}`".
Problem
Can we do a String.Format in a string that contains the '{' character? Example: `String.Format("a{a}a {0} bbb {1}", "val1", "val2");` The a{a}a should be interpreted as part of the string, not as a formatter... Thanks in advance