0
Hello, I have the following question, I have 5 vectors
string[] Defesa = { "Gigante", "Golem", "Gigante Real" };
string[] AtkTorre = { "Corredor", "Ariete de Batalha", "Gigante Real" };
string[] AP = { "Bárbaros de Elite", "Gigante Real", "P.E.K.K.A" };
string[] Sup = { "Bruxa", "Príncipe", "Mosqueteira", "Três Mosqueteiras", "Bruxa Sombria", "Lançador", "Caçador", "Executor", "Carrinho de Canhão" };
string[] C = { "Torre Inferno", "Canhão" };
I would like to access them from another vector, for example:
string[] vetor = { Defesa, AtkTorre, AP, Sup, C };
string valor = vetor[0][1]; // Golem
I’ve tried with list, array, matrix.. And nothing works... I’d like to know if you have how.. And how to?
Thank you so much!! Opened my mind <3
– Lucas Bittencourt