CSharp · Console
using System;
using HtmlAgilityPack;
public class Program
{
public static void Main()
{
// define htmldocument
var doc = new HtmlAgilityPack.HtmlDocument();
// declare HTMLWeb
HtmlWeb web = new HtmlWeb();
// here loading document for specfic URL
doc = web.Load("https://www.technologycrowds.com/2019/06/sha-512-hash-using-c-sharp.html");
// here searching for specific words
var ress = doc.DocumentNode.SelectSingleNode("//*[text()[contains(., 'Working')]]").InnerText;
// now displaying final output
Console.WriteLine(ress);
}
}