2 Replies
selectionItems is defined like this at the start of my class
i dont understand whats wrong
the default value of reference types is null
in addition, arrays have a fixed size so you can't just assign a value to any index you want
you probably want to use a list, it will get bigger as you add more things to it