Mega Code Archive
Parsing an XML String into an Element
using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Xml;
using System.Xml.Linq;
public class MainClass {
public static void Main() {
string xml = "" +
"JR" +
"";
XElement xElement = XElement.Parse(xml);
Console.WriteLine(xElement);
}
}