Why do I get errors when I try to serialize a Hashtable

Answer Posted / kirti

XmlSerializer will refuse to serialize instances of any class that implements IDictionary, e.g. Hashtable. SoapFormatter and BinaryFormatter do not have this restriction.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is route config?

555


What are the benefits of .net framework?

561


Is .net core replacing .net framework?

466


What are the main features of asp.net mvc 4 used by asp.net web api?

549


How does the .net framework 3.0 relate to the .net framework 2.0?

553






What is presentation framework?

545


Which are the important namespaces used in mvc?

710


what is split entity?

601


Why should we go for entity framework?

517


In razor syntax, what is the escape sequence character for @ symbol?

558


What is separation of concerns in asp.net mvc?

596


explain what is ado.net entity framework?

568


What is main objective of asp.net mvc 4 or what is new in mvc4 ?

599


What is a model in programming?

551


How does �side by side� work for the .net framework 3.0?

528