you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 2 years ago (5 children)

Is this some .NET convention that references to instances start with capital letters?

  • source
  • parent
  • hideshow 5 child comments
  • [–] 3 points 2 years ago (4 children)

    Yeah, properties (like a field but with a getter and/or setter method, may or may not be backed by a field) are PascalCase

  • source
  • parent
  • hideshow 4 child comments
  • [–] 3 points 2 years ago (3 children)

    How is OldMan a property here? It's clearly the name of a class

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 2 years ago (2 children)

    Instance properties are PascalCase.

  • source
  • parent
  • hideshow 2 child comments