https://pt.stackoverflow.com/q/134169/101

CSharp · Console

/Program.cs

using System.Collections.Generic;
					
public class Program {
	public static void Main() {
		var ht = new Dictionary<string, string> { ["index"] = "0", ["tipo"] = "1" };
		string tipo = ht["tipo"];
	}
}
;