Namespaces in C# (LINQ to XML)


The topics in this section describe how to work with namespaces in C#.



How to: Create a Document with Namespaces (C#) (LINQ to XML)2

Shows how to create documents with namespaces.

How to: Control Namespace Prefixes (C#) (LINQ to XML)2

Shows how to control namespace prefixes by inserting namespace attributes into the XML tree.

Scope of Default Namespaces in C#1

Demonstrates the appropriate way to write queries for XML in the default namespace.