Share via


Namespaces in C# (LINQ to XML)

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

In This Section

Topic

Description

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

Shows how to create documents with namespaces.

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

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

Scope of Default Namespaces in C# (LINQ to XML)

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

See Also

Other Resources

Working with XML Namespaces