#include "stdafx.h"
#using
using namespace System;
using namespace System::Collections;
using namespace System::Collections::Specialized;
void main()
{
StringCollection ^strcol = gcnew StringCollection();
array^ tmpstr = gcnew array {"Third", "Fourth" };
strcol->AddRange(tmpstr);
StringEnumerator ^strenum = strcol->GetEnumerator();
while ( strenum->MoveNext())
{
Console::WriteLine(strenum->Current);
}
}