c# get bytes to array code example Example: string from byte array c# var str = System.Text.Encoding.Default.GetString(result);