How to pass a variable (string array) to nested classes?
I have an inner class that needs a variable from an upper class. The variable is actually a string array. I tried using Friend believing that it would make the variable available to the nested classes below the class that I used it in. This did not work. So I created a property to pass the variable but I am convinced that there must be a way to do this without writing a property to pass this variable for every nested class its needed.