StringCollection Class

Represents a collection of strings.
StringCollection accepts Nothing as a valid value and allows duplicate elements.
String comparisons are case-sensitive.
Elements in this collection can be accessed using an integer index. Indexes in this collection are zero-based.

Syntax:

  Dim sColl As New StringCollection()
  Dim colArr() As String = {"RED", "GREEN", "YELLOW", "BLUE"}
      sColl.AddRange(colArr)

No comments:

Post a Comment