Differences between C# Auto-Implemented Properties and Properties

Nuestro buen amigo Javier Caceres nos comparte su artículo:

Differences between C# Auto-Implemented Properties and Properties

Sometime ago a good friend of mine asked me about the differences between auto-implemented properties and standard properties but due we were in a rush it was no possible to make some time for explaining.

Simply put, the compiler creates the internal object and the accessors (get and set operations) for the auto-implemented properties so they’re mutable and after declaration the client code can change the values. This is an example of auto-implemented properties:

clip_image001

Ver más aquí.
Saludos.

Fernando García Loera (Community Program Manager – Latin America Region)

Icono Ferglo 40x116twitter 40x40RSS 40x40facebook 40x116linkedin40x40xbox 40x40

Que es un MVP? / Tips para ser MVP