Creating a dictionary in .NET Part 2 – Adding elements
1 min read

Creating a dictionary in .NET Part 2 – Adding elements

Now it’s time to add two elements to the dictionary.

openWith.Add("txt", "notepad.exe");
openWith.Add("bmp", "paint.exe");

In the next post we’ll check our key for the value.

Leave a Reply