Professional Documents
Culture Documents
using System;
using System.Xml.Linq;
namespace ConsoleApp9
{
class Program
{
static void Main(string[] args)
{
XDocument xdoc1 = new XDocument(
new XDeclaration("1","utf-8","yes"),
new XComment("Creating an Xml tree using Linq to XML"),
new XElement("Student",
new XElement("Student",
new XAttribute(),
new XElement(),
new XElement(),
new XElement()
);
xdoc1.Save(\\);