Developer Productivity: What's New in C# 6: (02) Data Transfer Object Support

Play Developer Productivity: What's New in C# 6: (02) Data Transfer Object Support

Discussione

  • Immagine del profilo utente
    paul

    I don't see how readonly properties makes the object more easy to use for data transfer. In fact, it makes things significantly worse. How do you deserialize to that object? You can't because there is no setter for that property, whereas a private setter can be reflected.

Dai il tuo contributo