using System;
using System.Text;
class StringEncodingApp {
static void Main(string[] args) {
byte[] bb = new byte[] { 0, 72, 0, 101, 0, 108, 0, 108, 0, 111 };
string t = Encoding.BigEndianUnicode.GetString(bb);
Console.WriteLine(t);
}
}
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok