Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Problem 5. Unicode Value
- //Declare a character variable and assign it with the symbol that has Unicode code 72, and then print it. Hint: first, use the Windows Calculator to find the hexadecimal representation of 72. The output should be “H”.
- using System;
- class UnicodeValue
- {
- static void Main()
- {
- char mySymbol = '\u0048';
- Console.WriteLine(mySymbol);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement