CompareLogic compareLogic = new CompareLogic(); //Trial Mode
//CompareLogic compareLogic = new CompareLogic("place user name here", "place license key here"); //License Mode
compareLogic.ExcludedTexts = new List<ExcludedText>();
compareLogic.ExcludedTexts.Add(new ExcludedText("Bill",ExclusionType.StartsWith));
//Compare two strings
string original = "Bill Swill";
string changed = "Will Swill";
ComparisonResult result = compareLogic.CompareStrings(original, changed);
//Output to HTML, also can export to CSV, or DataTable
OutputHtmlLogic outputLogic = new OutputHtmlLogic();
outputLogic.OutputToFile(result, "ExcludedTextsTest.html");
//Show the file in the browser
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo.FileName = "ExcludedTextsTest.html";
proc.Start();