I have a class called funcoes.cs
I need to create a property that stores the initial X, Y, and X, Y final values, thought of:
public double[] PosicaoInicialXY { get; set; }
public double[] PosicaoFinallXY { get; set; }
then it would send the parameters like this:
double[] valoresFinalXY = new double[2];
valoresFinalXY[0] = 40;
valoresFinalXY[1] = 5;
funcoes.PosicaoFinallXY = valoresFinalXY;
and also to the starting position
Doubt: How could I create a new property that would subtract X, Y initial - X, Y final?
double[] resultado = this.PosicaoInicialXY - this.PosicaoFinallXY; //??? não deu certo