using System;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Xml.Linq;class Program{ static void Main() { XDocument fromWeb = XDocument.Load("http://your domain.com/sample.xml"); }}