Guest User

Untitled

a guest
Sep 14th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. Writing characters using binary values?
  2. using System.Text;
  3.  
  4. var str = Encoding.ASCII.GetString(new byte[] { 65, 66, 67 }); // "ABC"
  5. var chr = Encoding.ASCII.GetChars(new byte[] { 65 })[0]; // 'A'
Add Comment
Please, Sign In to add comment