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("...
Markdown supported · ⌘↵ to post
No responses yet.