question about namespaces

T

Tarz

Hi,

Just wondering is there any paticular reason why the XmlSerializer class is
not in the
System.Runtime.Serialization.Formatters namespace. Isnt the role the
XmlSerializer class the same as the BinaryFormatter etc?
 
D

Daniel Billingsley

They're similar, but not really the same. XmlSerializer only gets the
public members whereas BinaryFormatter creates a full object graph, for
example.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top