After searching several days through the network, I have not been able to resolve it:
struct TART
{
public DateTime time;
public int color;
public double altura;
public string probado;
}
List<TART> LART = new List<TART>();
In the List<TART>
you have already entered several elements of type LART
, but at a given moment I need to modify one of the fields of LART
of a cell of List, the color for example, only that field and the rest ( time
, altura
and probado
) leave them the same as they were, how would you do it?
What I want is to have an array of tuples, that is, something that can be traversed and that inside have several variables grouped together, and that can erase, modify, add any field. Or if there is a more practical alternative form I accept the recommendation.