Venciity

[ Telerik C#] Primitives And Variables - EX 5

Feb 13th, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.36 KB | None | 0 0
  1. // 5. Declare a character variable and assign it with the symbol that has Unicode code 72.
  2. // Hint: first use the Windows Calculator to find the hexadecimal representation of 72.
  3.  
  4. using System;
  5.  
  6. namespace _05_CharUnicode
  7. {
  8.     class CharUnicode
  9.     {
  10.         static void Main()
  11.         {
  12.             Console.WriteLine((char)0x48);
  13.         }
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment