c# equivalent of x php escape sequence? ← (PHP)

Solution:

This may have been previously answered, check this previous post out to see if it helps:

C# Build hexadecimal notation string

Answer



Solution:

You can do it, sort of, with \u. This will insert a unicode character in to the string. Strings in .Net are unicode, so you can't throw in single byte values like you can in other languages.

See http://msdn.microsoft.com/en-us/library/aa664669(v=vs.71).aspx .

Source