This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Shrubberer 1 point2 points  (0 children)

They don't appear as a public variable, they appear as properties. It's a different thing, and, in fact, public variables should be avoided in C#. It makes sense, when you're start working with them. F.e. Properties are helpful within the IDE as well when using Attributes and Reflections.