Answer:
The XML serialization is suitable for serializing from .NET types to XML files and is used implicitly by ASMX web services. This comes under "System.Xml.Serialization" namespace.
To use the XmlSerializer, you need to instantiate it and call serialize or deserialize with a stream and object instance.
Asked In: Many Interviews |
Alert Moderator