C# 8.x is introducing Records

added by Paul Wheeler
3/4/2019 5:18:24 PM


Quite often in our architectural designs we tend to use POCO classes. If you have never heard of a POCO class it basically stands for Plain Old CLR Object. It is meant to describe a class with no bussiness logic whatsoever included in it. Only to hold different types of data and pass it around. In many cases these POCO classes only include readonly properties and fields internally. Very often, writing the code for these classes feels like writing a lot of boilerplate code. Well here is where C# 8.x is coming to simplify the process of creating these classes by introducing Records.