public void CashbookReset(){ for (int i = 0; i < 6; i++) { ContentsArray[i].text = ""; IncomeArray[i].text = ""; OutcomeArray[i].text = ""; RemainderArray[i].text = ""; } } }