System.Xml.XmlDocument doc = new System.Xml.XmlDocument();
doc.LoadXml(@"<?xml version=""1.0""?><NextUrl>"+ nextUrl +"</NextUrl>");
System.Xml.XmlNode element = doc.SelectSingleNode("NextUrl");
where nextUrl string type consist value
Reviews 1-3 of 17 :
<a href="#reviews" class="yls-gl-pagon">1</a>
<a href="http://local.yahoo.com/details?id=20634987&csz=Encino%2C+CA&sortreviews=1&from=4#reviews">2</a>
<a href="http://local.yahoo.com/details?id=20634987&csz=Encino%2C+CA&sortreviews=1&from=7#reviews">3</a>
<a href="http://local.yahoo.com/details?id=20634987&csz=Encino%2C+CA&sortreviews=1&from=10#reviews">4</a>
<a href="http://local.yahoo.com/details?id=20634987&csz=Encino%2C+CA&sortreviews=1&from=13#reviews">5</a>
<a href="http://local.yahoo.com/details?id=20634987&csz=Encino%2C+CA&sortreviews=1&from=16#reviews">6</a>
<a href="http://local.yahoo.com/details?id=20634987&csz=Encino%2C+CA&sortreviews=1&from=4#reviews" class="yls-gl-pagarrow">Next <span>»
how can i get value
XElement element = new XElement(pageSection);
var value = from tag in element.Descendents("a")
where tag.Value equals "Next"
select tag.Attribute("href").Value
using n how can i use