August 2003
Intermediate to advanced
928 pages
32h 1m
English
StringCollection
This class is a special collection in which the elements are strings.
public class StringCollection : IList, ICollection, IEnumerable { // Public Constructors public StringCollection( ); // Public Instance Properties public int Count{get; } // implements ICollection public bool IsReadOnly{get; } // implements IList public bool IsSynchronized{get; } // implements ICollection public object SyncRoot{get; } // implements ICollection public string this[intindex]{set; get; } // Public Instance Methods public int Add(stringvalue); public void AddRange(string[ ]value); public void Clear( ); // implements IList public bool Contains(stringvalue); public void CopyTo(string[ ]array, intindex); public StringEnumerator GetEnumerator( ); public int IndexOf(stringvalue); public void Insert(intindex, stringvalue); public void Remove(stringvalue); public void RemoveAt(intindex); // implements IList }