Create Root XElement - CSharp System.Xml

CSharp examples for System.Xml:XML Element

Description

Create Root XElement

Demo Code


using System.Xml.Linq;
using System.Xml;
using System.Text.RegularExpressions;
using System.Text;
using System.Security.Cryptography.X509Certificates;
using System.Linq;
using System.IO;/*  www  .j  av  a 2  s  .c om*/
using System.Collections.Generic;
using System;

public class Main{
        public static XElement CreateRootXElement()
        {
            return new XElement("resources");
        }
}

Related Tutorials