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////////////////
<student>
<name>Nick Young</address>
<address>8th Street/</address>
<phone>0123456789</phone>
</student>
//////////////////////////////////
//////////Example 2////////////////
<student Name ="Nick Young" address = "8th Street" phone ="0123456789">XXXX</student>
//////////////////////////////////
I would like to highlight here that i need to Add,Rename/Edit,Remove and Search students.