src/States/OptionalString.cs
/// <summary>
///     Indicates whether this instance and a specified object are equal.
/// </summary>
/// <returns>
///     true if <paramref name="other" /> and this instance are the same type and represent the same value; otherwise,
///     false.
/// </returns>
/// <param name="other">Another object to compare to. </param>
Indicates whether this instance and a specified object are equal.
Indicates whether this instance and a specified object are equal .
public override bool Equals(object other)
        {
            if (!HasValue)
            {
                return other == null;
            }
            return other != null && _value.Equals(other);
        }
public override bool Equals ( object other ) { if ( ! HasValue ) { return other == null ; } return other != null && _value . Equals ( other ) ; }
Indicates whether this instance and a specified object are equal.
Indicates whether this instance and a specified object are equal .
true if  and this instance are the same type and represent the same value; otherwise,
false.
true if and this instance are the same type and represent the same value ; otherwise false .
other
object
Another object to compare to.
Another object to compare to .