Creating xml like the below format
<p>I want to create a XML file in csharp like the below format pls help me with the code</p>

<pre><code>  &lt;MasterEntries&gt;
  &lt;fruit&gt;Apple&lt;/fruit&gt;
  &lt;animal&gt;Fox&lt;/animal&gt;
  &lt;color&gt;Violet&lt;/color&gt;
  &lt;/MasterEntries&gt;
</code></pre>
