using System.Collections.Generic; public class Program { public static void Main() { var ht = new Dictionary { ["index"] = "0", ["tipo"] = "1" }; string tipo = ht["tipo"]; } } //https://pt.stackoverflow.com/q/134169/101