Hello
I'm new to C#, but I already know some other languages like C, C++, and Perl. I have this project that I need to be done with by the mid of Jone. This project has to be written in C#, and the database files are all in XML language. C# already has external classes that are alreay built to deal with XML files as database files. You can include those classes by after the following codes:
Code:
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
I already know how to read from an XML file, and how to write to an XML file. A read is done with a specific syntax scenario, as well as the writing format. So, it's not a big deal. However, I want to know further more about how to deal with XML files, such as:
1- How do I copy an entire XML file that exists in a specific directory to another? I'm seeking an answer that has a certain function that takes care of this rather than a for loop of reading single entries from the XML file and writing them to anothet file one by another.
2- How do I know if there is a certain file that exists in a certain directory?
3- How do I read a directory?
I'm appreciating the help of any of you guys.
Thanks in Advance.