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



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

Answer / 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

More Dot Net Framework Interview Questions

What is the significance of nonactionattribute?

0 Answers  


Can you declare an override method to be static if the original method is non-static

1 Answers  


What is the domain object?

0 Answers  


Why to use Html.Partial in ASP.Net MVC?

0 Answers  


what is ADO.NET

8 Answers   NIIT,


What are the contents of assembly?

2 Answers  


What is the property available to check if the page posted or not

1 Answers  


Can you explain renderbody and renderpage in mvc?

0 Answers  


what is entity data model?

0 Answers   Microsoft,


What is Area in ASP.Net MVC?

0 Answers  


what is ssdl?

0 Answers   Microsoft,


Do I need microsoft .net framework?

0 Answers  


Categories