0

I have a hierarchy kind of class, it would be very useful for me to set some of its values like child list as public so i can easily export a tree from the item but if the values were to be edited from outside the proper pathways everything would explode. Is it possible to make the variables accessible only from instances of its own class? or at least to have it read-only for anything outside the instance?

Jake Freelander
  • 1,471
  • 1
  • 19
  • 26

0 Answers0