dotnet / dotnet/dotnet-api-docs
What does it mean for HtmlDocument instances to be equal?
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
### Type of issue
Typo
### Description
I have two HtmlDocument instances containing the same web page obtained using different URLs. Are those equal or not? If not, how would I compare only the content and ignore the URLs? I could use a debugger and try to figure out how it currently works and hope it never changes, but I thought documentation was supposed to make it possible to use the code without completely analyzing its behavior in a debugger.
### Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.htmldocument.equals?view=windowsdesktop-9.0#system-windows-forms-htmldocument-equals(system-object)
### Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Windows.Forms/HtmlDocument.xml
### Document Version Independent Id
97d8e5d4-0aa4-10bf-f344-0b21a21b9982
### Platform Id
eb0932e9-55a4-4bac-b0dd-97e94643d2d8
### Article author
@dotnet-bot
Contributor guide
Assessment
This issue has not been assessed yet.