I am new in c# programming and i would like to create a small database in XML file for educational purpose.
The question is which way is proper or more editable when I create a small database in XML?
For example:
//////////Example 1////////////////
8th Street/
//////////////////////////////////
//////////Example 2////////////////
//////////////////////////////////
I would like to highlight here that i need to Add,Rename/Edit,Remove and Search students.

VulpesPosted Dec 10, 2012, 10:55 AM
You might also like to read what W3Schools have to say on the matter:
http://www.w3schools.com/dtd/dtd_el_vs_attr.asp
VulpesPosted Dec 10, 2012, 11:37 AM
Suppose now that you want to delete Nick Young from the file. The following LINQ to XML code will do it:
After running this code, the file should look like this:
SenyPosted Dec 10, 2012, 11:15 AM
Here is the XML File examlpe:
////////////////////////////////////////////////
8th Street/
9th Street/
////////////////////////////////////////////////