Collections Visual C++ .NET

#include "stdafx.h"
#using 
using namespace System;
using namespace System::Collections::Generic;
int main()
{
    array^ arrList = gcnew array {"Two", "Three", "Four"};
    LinkedList^ list = gcnew LinkedList((IEnumerable^)arrList);
    list->AddLast("Six");
    list->AddFirst("Zero");
    list->AddAfter(list->First, "One");
    list->AddBefore(list->Last, "5");
    
    LinkedListNode^ current = list->Last;
    while (current != nullptr){
        Console::WriteLine(current->Value);
        current = current->Previous;
    }
}