Returns an XName object created from this XNamespace and the specified local name.
using System; using System.IO; using System.Xml; using System.Xml.Linq; using System.Collections; using System.Collections.Generic; public class MainClass{ public static void Main(){ XNamespace aw = "http://www.domain.com"; XName name = aw.GetName("Root"); Console.WriteLine("{0}", name); } }