public void AddCategory(Category c) { Category[] cats = new Category[categoryField.Length+1]; categoryField.CopyTo(cats, 0); cats[cats.Length-1] = c; categoryField = cats; }
public Board() { categoryField = new Category[6]; for (int i = 0; i < 6; i++) categoryField[i] = new Category(); pointValuesField = new float[] { 100F, 200F, 300F, 400F, 500F }; }