public void Setup() { letterButtonTexts = new string[letterMax]; promptAndAnswers = new PromptModel[promptMax]; selected = new PromptModel(); selected.answerTexts = new string[letterMax]; if (null != table) { contentCount = DataUtil.Length(table) - 1; contents = new SpellingModel[contentCount]; for (int index = 0; index < contentCount; index++) { var content = new SpellingModel(); content.Setup(); content.PopulateRow(GetRow(index)); contents[index] = content; } } }