79715234

Date: 2025-07-25 20:53:44
Score: 0.5
Natty:
Report link

Hmmm, this works:

public string Description { get; set; } = ""
public string? Desc { set { Description = value; } }

Mapping initializers? I'm finding it hard to call it post-processing :)

As a bonus, Desc does not have a getter so no one besides you would know it exists.

It's a slippery slope, but it makes multiple "aliases" for the same property possible.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: hector-j-rivas