Add key value pair to StringDictionary
#include "stdafx.h"
#using <system.dll>
using namespace System;
using namespace System::Collections;
using namespace System::Collections::Specialized;
void main()
{
StringDictionary ^strdict = gcnew StringDictionary();
strdict->Add("D", "d");
strdict->Add("F", "f");
}
Related examples in the same category