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 object service? : Entity framework

636


Explain Model, view and Controllers in Asp.Net MVC?

567


how do you mark a property as required? For example, for a project, the name is a required field.

588


Which filter executes first in an asp.net mvc application?

557


What is Dependency Injection in ASP.Net MVC

590






What is the use .Glimpse in ASP.Net MVC

579


Do you know about the new features in ASP.Net MVC 4 ?

598


Can you explain renderbody and renderpage in mvc?

584


How do I use partial view?

533


How we can invoke child actions in ASP.Net MVC?

584


Explain the 'page lifecycle' of an ASP.NET MVC?

634


which are the key concepts of entity data model?

611


What is the difference between ViewData, ViewBag and TempData?

643


Is it possible to combine asp.net webforms and asp.mvc and develop a single web application?

547


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

532