|
|
|
|
|
by Someone1234
1590 days ago
|
|
All it perfectly demonstrates is that this is inherently an anti-pattern and that we're discussing features to work around things you shouldn't be doing to begin with. If you want to store XML literals, then by all means do so, but within the code itself is inappropriate. Even the existing @" " syntax is a code-smell, the new syntax doesn't address why that is (e.g. validation/colorization/etc don't work for string literals containing arbitrary other languages). .Net already has constructs to allow the dynamic creation of XML blocks (and JSON) without resorting to string-comcat shenanigans. |
|