string CPP_NAME_SPACE = "test"
System.Console.WriteLine("} // namespace {0}", CPP_NAME_SPACE); // FormatException
System.Console.WriteLine("} // namespace {0}"); // normal
System.Console.WriteLine("// namespace {0}", CPP_NAME_SPACE); // normal
Pourquoi la première ligne lance-t-elle une exception FormatException mais pas la seconde?Console C# WriteLine System.FormatException:
Ok, c'est OK pour le double '}', merci! –