how to convert string array to byte array in c# code example Example: c# byte array to string var str = System.Text.Encoding.Default.GetString(result);