C# Record
After .net 5 came up, a new C# 9 mechanism called Record has drawn C# developer much attention. Record has both Reference Type and Value Type features. It is used to store data like struct, however as it is Reference Type, it has behaviors like encapsulate and inheritance. Hence we can use record to store […]