I have an IList to work with.
Can I loop through the rows in the list and create an XML file from this? If so how would I go about doing it?
I have been trying to get to grips with XDocument but I fail to see how I can loop through the IList using this method.
If you're just after a fairly simple structure from a list of strings then this will work: