Record types
Record types are introduced in c# 9 which allows writing immutable reference types. The properties of an instance of reference type cannot change after its initialization. public record User(string FirstName , string LastName); var user = new User("...
Feb 2, 20223 min read7