Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 10
    Exactly. The first question should not be "how do I give access to these variables" but "why am I giving access to these variables?" Commented Aug 3, 2011 at 20:17
  • Dave u are right. And Kees the example with Uncle Bob is exciting ;-) I would allways declare variables private and let them be accessable by Properties. Its part of a good coding to do that. Commented Feb 8, 2012 at 17:11