building a config object in XML csharp

Code Example - building a config object in XML csharp

                
                        using system.Xml.Linq

public void RetrieveDataFromXml(){
	XElement element = XElement.Load("<your-xml-document>.xml");
    IEnumerable<XElement> config = element.Elements();
}