text: public override bool Equals(object other){if ((other is LabelAndValue) == false){return false;}LabelAndValue _other = (LabelAndValue)other;return Label.Equals(_other.Label, StringComparison.Ordinal) && Value.Equals(_other.Value);}