Adam Bieganskitechlead.inkยทDec 10, 2024C# required, record and init-onlyClass Before required you had to create a constructor to guarantee that all properties you wanted were actually set: public class EmailPdfToUserCommand { public EmailPdfToUserCommand(string invoiceId, string userFirstName, string userLanguage, st...1 likerecordAdd a thoughtful commentNo comments yetBe the first to start the conversation.