XElement.Parse (String) load an XElement from a string that contains XML.
using System;
using System.Linq;
using System.Xml.Linq;
using System.Collections;
using System.Collections.Generic;
publicclass MainClass{
publicstaticvoid Main(){
XElement xmlTree = XElement.Parse("<Root> <Child> </Child> </Root>");
Console.WriteLine(xmlTree);
}
}