public void Merge(StrConcat group) { // append to the result only if the group has value if (group.hasValue) { this.result.Append(group.delimiter); this.result.Append(group.result); } }