convert character to hexadecimal equivalent
Published: 19. October 2011 | Updated: 19. October 2011License: Microsoft Public License (MS-PL)
Categories: Converting
Tags: C# Conversion Text
Snippet code shows how to convert character to hexadecimal equivalent using Uri class.
string hexadecimal = Uri.HexEscape('c'); Console.WriteLine(hexadecimal);Console Output:
%63
| Send us feedback about this snippet » |





