Namespaces in C# (LINQ to XML)
For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.
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# | Demonstrates the appropriate way to write queries for XML in the default namespace. |