StringBuilderEquals Method (StringBuilder) |
Returns a value indicating whether this instance is equal to a specified object.
Namespace: System.TextAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public bool Equals(
StringBuilder sb
)
Parameters
- sb
- Type: System.TextStringBuilder
An object to compare with this instance, or null.
Return Value
Type:
Booleantrue if this instance and
sb have equal string,
Capacity, and
MaxCapacity values; otherwise, false.
See Also