/// <summary> /// Concatenates two ConsoleStrings together. /// </summary> /// <param name="other">The string to append.</param> public void Append(ConsoleString other) { foreach (var c in other.ToArray()) // ToArray() prevents concurrent modification when a and b refer to the same object { this.Add(c); } }