building a config object in XML C#
using system.Xml.Linq
public void RetrieveDataFromXml(){
XElement element = XElement.Load("<your-xml-document>.xml");
IEnumerable<XElement> config = element.Elements();
}
Are there any code examples left?
New code examples in category C#