Insert value to an ArrayList at specified position
#include "stdafx.h" using namespace System; using namespace System::Collections; void main() { ArrayList ^alist = gcnew ArrayList(4); // will double to 8 alist->Add("One"); alist->Add("-"); alist[1] = "Three"; alist->Insert(1, "Two"); }