User Tools

Site Tools


collections

This is an old revision of the document!


Collections

The collections in many aspects are similar to the VO arrays, but they differ from them as you need to specify the type of the elements (of course, you can type the elements as object leaving this completely open.

The collections are available in the namespaces

  • System.Collections
  • System.Collections.Generic
  • System.Collections.Concurrent
  • System.Collections.ObjectModel
  • System.Collections.Specialized

There are a lot of different Collection classes, but the most important are:

If you need some help, which Collection class to use, here is a help:

But it is very important to know that you cannot change a collection while you are using it in a foreach loop.

collections.1517769761.txt.gz · Last modified: 2018/02/04 18:42 by wolfgangriedmann