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