Determines whether the specified object is equal to the current System.Text.UTF8Encoding object.
- value
- The object to compare with the current instance.
true if value is an instance of System.Text.UTF8Encoding and is equal to the current object; otherwise, false.
Two System.Text.UTF8Encoding objects are considered equal if all of the following conditions are true:
Both objects use the same byte order.
Both objects provide the byte order mark, or both do not.
Both objects throw an exception when encountering invalid encoding, or both do not.