79358009

Date: 2025-01-15 11:25:48
Score: 1
Natty:
Report link

A virtual property encapsulating another virtual property? I think you are overengineering it. There's no good reason for backing field to be a virtual property. If someone wants to override the behavior, they already can by overriding Name. Just make it a field. It can even be a private field. You access it via base.Name.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: jaros