The second way is actually an auto-property that implicitly implements the support field, which means that you cannot influence the generated field name.
In most cases, you don’t care, but in scenarios when you transfer objects between layers using serialization / deserialization, in some cases you explicitly created a support field to get rid of __propBackingField2735t34 such names on the client.
Also, in the explicitly encoded properties, some logic can be included to check that it does not apply to auto-impregnations
vittore
source share