"Simple Record Type Definition"

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


Code snippet taken from "Complete C# Quick Reference - C# 9".