1

I am trying to deserialize and serialize JSON in a Lightswitch app, and in that procedure I need to use encoding. The problem is that after build I get this error :

'System.Text.Encoding.GetString(byte[])' is inaccessible due to its protection level

and this error also appear after build at [Serializable] tag

The question is why? The reference System.Text is already there and using namespace also...

Bastien Jansen
  • 8,756
  • 2
  • 35
  • 53

0 Answers0