C# – Analyze the C# code snippet given below and select the most appropriate choice…


Analyze the C# code snippet given below and select the most appropriate choice.
using System;
using System.Collections.Generic;
public class Example
{
public static void Main()
{
IDictionary<string, string> openWith =
new Dictionary<string, string>();
openWith.Add("txt", "notepad.exe");
openWith.Add("bmp", "paint.exe");
openWith.Add("dib", "paint.exe");
openWith.Add("rtf", "wordpad.exe");
openWith.Add("txt", "notepad.exe");
Console.WriteLine("\nKey Added");
}
}

Related Posts

Close Bitnami banner
Bitnami