0
I have a array multidimensional / array of arrays / matrix (as you prefer to call):
public string[,] operacoes =
{
{ "SOMA", "", "" },
{ "SUBTRAÇÃO", "", "" },
{ "MULTIPLICAÇÃO", "", "" },
{ "DIVISÃO", "", "" }
};
I am using a foreach loop to return only the first position of each row. The other positions are not relevant to this case.
foreach (string op in operacoes)
{
...
}
What could I do to return only those positions with names of operations and ignore the rest?
Use a normal for.
– Jéf Bueno