Do or Do not. There is no try.
Please see:
http://www.youtube.com/watch?v=q3hn6fFTxeo[
^].
Please see my comment to the question. This is pointless, because no one except you knows what was actually encoded (serialized) as an array of byte. This is not a programming question, as it should be pose in this forum, but a pure rebus. :-)
However, as you provided some indirect information and the expected result, let's try to guess what it could be. The encoded value was probably not a string. It could be GUID, but not in the string form. By the way, you should generally get a habit to work with data, not its string representation. So, assuming this is GUID, you could try to deserialize you array of chars as GUID, per component using
BitConverter
using the methods System.Guid.Parse
, System.Guid.TryParse
, System.Guid.ParseExact
or System.Guid.TryParseExact
, please see:
http://msdn.microsoft.com/en-us/library/system.guid.aspx[
^],
http://msdn.microsoft.com/en-us/library/system.bitconverter.aspx[
^].
If this works, you should just work with this GUID value. You only need string to present it in a text file, show on screen, etc. As with any other data, you would need one of
ToString
methods.
—SA