如下所示: 代码如下:using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication1{ class Class1 { static string[] str = { “A”, “B”, “C”, “D”, “E” }; static void Main() { Dictionary dic = new Dictionary();