---
title: "What is the namespace to read and write XML file in C#?"  
description: "What is the namespace to read and write XML file in C#?"  
author: "Anonymous User"  
published: 2010-10-20  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/67/what-is-the-namespace-to-read-and-write-xml-file-in-c-sharp  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# What is the namespace to read and write XML file in C#?

.NET provides five namespace to support XML classes. \
\
System.Xml\
System.Xml.Schema\
System.Xml.Serialization\
System.Xml.XPath\
System.Xml.Xsl \
\
System.Xml namespace is used to read and write xml file in c#

## Answers

### Answer by Pushpendra Singh

.NET provides five namespace to support XML classes. \
\
System.Xml\
System.Xml.Schema\
System.Xml.Serialization\
System.Xml.XPath\
System.Xml.Xsl \
\
System.Xml namespace is used to read and write xml file in c#


---

Original Source: https://www.mindstick.com/interview/67/what-is-the-namespace-to-read-and-write-xml-file-in-c-sharp

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
