I am trying to read the xml document using XDocument method . but i am getting an error when xml has
This code:
System.IO.File.ReadAllLines(path)
returns an array of strings. The correct code is:
System.IO.File.ReadAllText(path)