+ 1

How do I add strings to an string array that's inside a class?

When I went to do this my mind suddenly went blank as I've never done this before I have no code to reference and don't even know where to start.

30th Nov 2017, 12:40 PM
kenneth Stanley
kenneth Stanley - avatar
2 odpowiedzi
+ 1
From outside that class? Or also outside a namespace wrapping the class? You should just be able to go: ClassName.arrayName[index] = valueHere;
30th Nov 2017, 1:30 PM
LunarCoffee
LunarCoffee - avatar