C# Create xml from Scratch

Brencezep

New Member
I know this is probably an easy question, but im having trouble just creating an xml file that will only create its root i Have the following code but it doesnt work\[code\] XDocument products = new XDocument( new XDeclaration("1.0", "utf-8", ""), new XElement("Users", ) ); products.Save("hello.xml");\[/code\]
 
Back
Top