Firstly, XmlSerializer is in the System.Xml.Serialization /namespace/ and
System.Xml /assembly/.
If you want to work with the framework's Xml implementation, you have to use
this assembly. You could roll your own, but why bother? It imposes no
deployment overhead since it is part of the core runtime.
If you reference the assembly, a "using {namespace};" does not impose any
overhead - it is merely a coding aid. You could just as easily use full path
notation each time, but it wouldn't be very efficient coding.
And I doubt you are "build"ing the XmlSerializer at all anyway...
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.