我有使用Html敏捷包的代码。有一行将HTML节点的名称与包含磅符号的字符串进行比较。这有道理吗?
HtmlAgilityPack.HtmlNode node; ... if (node.Name == "#text") ...
是的。 < 和一个 >
<
>