public static SyndicationLink GetFirstPageLink(this SyndicationFeed feed, bool throwIfNotPresent) { if (feed == null) { throw new ArgumentNullException("feed"); } SyndicationLink firstPageLink = feed.Links.Where((link) =>(link.RelationshipType == "first")).SingleOrDefault(); return firstPageLink; }