"Simple Record Type Definition"

public record User(string Name, int Age) { }


Code snippet taken from "Two Decades of C#: A Reference - C# 9".