2
¿Cómo es correcta esta inicialización del diccionario C #?
Me topé con lo siguiente y me pregunto por qué no generó un error de sintaxis. var dict = new Dictionary<string, object> { ["Id"] = Guid.NewGuid(), ["Tribes"] = new List<int> { 4, 5 }, ["MyA"] = new Dictionary<string, object> { ["Name"] = "Solo", ["Points"] = 88 } ["OtherAs"] = new …