C#: Record and class
A short, tested C# example for record and class. Copy it and adjust the names and paths for your project.
C#
public record Point(int X, int Y);
public class User
{
public string Name { get; set; } = "";
public int Age { get; init; }
}Find it in Zest
Search for “csharp record and class” in Zest and this example appears above the results, with other matches to choose from. Searches stay private.