array of bytes in string c# code example
Example 1: string from byte array c#
var str = System.Text.Encoding.Default.GetString(result);
Example 2: convert bytes to string and back c#
string base64 = Convert.ToBase64String(bytes);
byte[] bytes = Convert.FromBase64String(base64);