public record Person(string FirstName, string LastName);. C#12 introduces primary constructor for non-record class and struct but beware, it is ...
確定! 回上一頁