using System;
public class Program
{
public static void Main()
byte[] bytearray = new byte[] {97,114,114,97,121,32,101,120,97,109,112,108,101,115 };
//method1
string txt = System.Text.ASCIIEncoding.ASCII.GetString(bytearray);
//method2
string text2 = System.Text.Encoding.Default.GetString(bytearray);
Console.WriteLine(txt);
Console.WriteLine(text2);
}