title: Data at the root level is invalid. Line 1, position 1 -why do I get this error while loading an xml file?
body: <p>Data at the root level is invalid. Line 1, position 1 -why I get this error while load xml file</p>
  
  <p>this my code:</p>
  
  <pre><code>XmlDocument xmlDoc=new XmlDocument();
  xmlDoc.LoadXml("file.xml");
  </code></pre>