Answer the question
In order to leave comments, you need to log in
What is the deserialization error in c#?
Good afternoon! There is this piece of code
Hashtable ht = (Hashtable)this.serializer.Deserialize(this.labelServices.Text);
labelServices.Text = (string)ht["0".ToString()];
a:2:{i:0;s:1:"1";i:1;s:1:"2";}
Answer the question
In order to leave comments, you need to log in
The problem is solved, it was necessary to do deserialization in ArrayList at once and that's it, do not use HashTable.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question