/// <summary> /// Creates a list by copying another list's contents. /// </summary> /// <param name="other"> /// The list whose contents are to be copied. /// </param> public ValueList(ValueList <T> other) { this.Items = new T[other.Count]; this.Count = other.Count; Array.Copy((Array)other.Items, (Array)Items, Count); }