exception isSystem.Xml.XmlException: 'here is one special character like |', hexadecimal value 0x19, is an invalid character at line 1.
doc.Root.Elements("item") .GroupBy(s => (string)s.Element("Link")) .SelectMany(g => g.Skip(1)) .Remove();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)