Maybe I'm missing something obvious, but what's outdated there?
The correct solution remains `b ? "true" : "false"`, no?
If the XML spec requires exactly those strings, why do anything cute with `ToString`?
The correct solution remains `b ? "true" : "false"`, no?
If the XML spec requires exactly those strings, why do anything cute with `ToString`?
https://blog.jetbrains.com/dotnet/2015/02/12/string-internin...
The StackOverflowers note that the implementation technically doesn't match the spec, but in a way which can only be observed by using reflection https://stackoverflow.com/questions/491334#comment34617036_4...