Exemplo n.º 1
0
 /// <summary>
 /// Creates a new string collection from an existing string collection.
 /// </summary>
 /// <param name="c">The existing string collection to create a new instance from.</param>
 public StringCollection(StringCollection c)
 {
     InnerList.AddRange(c);
 }
Exemplo n.º 2
0
 public void AddRange(StringCollection c)
 {
     if (c == null || c.Count == 0) return; // do nothing
     _sorted = false;
     InnerList.AddRange(c);
 }