public sealed record Stuff(int MyProperty, string ImutableProperty, DateTimeOffset AnotherProperty)
public int MyProperty { get; private set; } = MyProperty;
public DateTimeOffset AnotherProperty { get; set; } = AnotherProperty;
public void SetMyProperty(int value) => MyProperty = value;
public static void Main()
var stuff = new Stuff(3, "four", DateTimeOffset.MinValue)
Console.Write($"{stuff.MyProperty},{stuff.ImutableProperty},");
stuff.AnotherProperty = DateTimeOffset.UtcNow;
Console.WriteLine(stuff.MyProperty);