I'm trying to convert a byte array to a string in Silverlight, but I get the following compilation error:
'System.Text.Encoding.GetString(byte[])' is inaccessible due to its protection level
This is the method that I'm using:
string text = UTF8Encoding.UTF8.GetString(myByteArray);
How else can I achieve this?