How to: Iterate Over STL Collection with for each

In addition to .NET Framework collections, the for each keyword can also be used to iterate over Standard C++ Library (STL) collections. An STL collection is also known as a container. For more information, see STL Containers.