title: insert record in xml file in object oriented way by Linq to xml in c# ? is possible?
body: <p>I have XML file template as :</p>
  
  <pre><code>&lt;Students&gt;
      &lt;Student&gt;
          &lt;StudentID&gt;&lt;/StudentID&gt;
          &lt;Name&gt;&lt;/Name&gt;
          &lt;Address&gt;&lt;/Address&gt;
          &lt;EmailId&gt;&lt;/EmailId&gt;
          &lt;StudentMobile&gt;&lt;/StudentMobile&gt;
          &lt;ParentName&gt;&lt;/ParentName&gt;
          &lt;ParentMobile&gt;&lt;/ParentMobile&gt;
          &lt;Physics&gt;&lt;/Physics&gt;
          &lt;Chemistry&gt;&lt;/Chemistry&gt;
          &lt;Mathematics&gt;&lt;/Mathematics&gt;
          &lt;Biology&gt;&lt;/Biology&gt;
          &lt;RegistrationDate&gt;&lt;/RegistrationDate&gt;
  
      &lt;/Student&gt;  
  &lt;/Students&gt;
  </code></pre>
  
  <p>in my asp.net application. I want to insert the student registration entry through my web form. but want to use proper object oriented method. like by create the object as "Student" it will have required property. and want to insert new node with incremental (auto increment) Student ID. I am using c#. how can i achieve this ? will Linq is best way to do this ?
  Please guide me. i am new in XML.</p>