How to ignore braces in the string.Format function?
Example:
string.Format("{Name:{0}}", "Value"); As a result of this code, we get an exception
An unhandled exception of type 'System.FormatException' occurred in mscorlib.dll
Additional information: The input string is not correct.
What you need to do in order to get rid of the error and get the result line:
{Name:Value}