using System; using System.Text; class StringEncodingApp { static void Main(string[] args) { byte[] ba = new byte[] { 72, 101, 108, 108, 111 }; string s = Encoding.ASCII.GetString(ba); Console.WriteLine(s); } }
Copyright � 2010 Dotfluent Network. Use of this web site constitutes acceptance of the w3mentor Terms of Use and Privacy Policy.