On Oct 5, 2:51 pm, Eitan <Ei...@discussions.microsoft.comwrote:
What would be the "right" way to convert type 'byte[]' to 'string'?
That entirely depends on what the data is. If it's intrinsically text
data, you should pick the right encoding and use Encoding.GetString.
If it's arbitrary binary data that you want to preserve as a string
and then convert back to binary data later, use Convert.ToBase64String
and Convert.FromBase64String.
Jon