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