title: How to save this string into XML file?
body: <p>I have this string variable:</p>
  
  <pre><code>string xml = @"&lt;Contacts&gt; 
      &lt;Contact&gt; 
      &lt;Name&gt;Patrick Hines&lt;/Name&gt; 
      &lt;Phone Type=""Home""&gt;206-555-0144&lt;/Phone&gt; 
      &lt;Phone Type=""Work""&gt;425-555-0145&lt;/Phone&gt; 
      &lt;Phone Type=""Mobile""&gt;332-899-5678&lt;/Phone&gt; 
      &lt;Address&gt; 
          &lt;Street1&gt;123 Main St&lt;/Street1&gt; 
          &lt;City&gt;Mercer Island&lt;/City&gt; 
          &lt;State&gt;WA&lt;/State&gt; 
          &lt;Postal&gt;68042&lt;/Postal&gt; 
      &lt;/Address&gt; 
      &lt;/Contact&gt; 
      &lt;Contact&gt; 
      &lt;Name&gt;Dorothy Lee&lt;/Name&gt; 
      &lt;Phone Type=""Home""&gt;910-555-1212&lt;/Phone&gt; 
      &lt;Phone Type=""Work""&gt;336-555-0123&lt;/Phone&gt; 
      &lt;Phone Type=""Mobile""&gt;336-555-0005&lt;/Phone&gt; 
      &lt;Address&gt; 
          &lt;Street1&gt;16 Friar Duck Ln&lt;/Street1&gt; 
          &lt;City&gt;Greensboro&lt;/City&gt; 
          &lt;State&gt;NC&lt;/State&gt; 
          &lt;Postal&gt;27410&lt;/Postal&gt; 
      &lt;/Address&gt; 
      &lt;/Contact&gt;
  &lt;/Contacts&gt;";
  </code></pre>
  
  <p>How can I save this string into an XML file in my drive c? Using c#.</p>