So I have a method Deposit that takes an argument which is the amount the user wants to deposit. All I want to do is add that deposit variable to the array of doubles
double[] transaction = new double[50];
public void Deposit(double dep)
{
//add dep to to transaction
}