c# encode byte array code example
Example 1: convert system.byte a string c#
string result = System.Text.Encoding.UTF8.GetString(byteArray);
Example 2: c# store byte array as string
string utfString = Encoding.UTF8.GetString(bytes, 0, bytes.Length);