What’s new in c#

This post will try to include recent updates in c# language. Record types C# 9.0 introduced record types. You can use the record keyword to define a reference type that provides built-in functionality for encapsulating data. Record with immutable properties using positional parameters or standard property syntax.public record Person(string FirstName, string LastName);Record type offers the following features: Concise… Continue reading What’s new in c#