I have a string defined public const string Numeric0 = "\u0030";
. C# is interpreting it as a Unicode character, which is useful to part of my application, but I also want to output the string in its original "\u0030"
format. I've tried most related answers here from SO, but haven't really made any progress. Thoughts?
Expected c# input:
public const string Numeric0 = "\u0030";
var str = SomeOperation(Numeric0);
Expected output:
str == @"\u0030"