//a record is like a simple way to declare a class public record Person(string name,int age); Person p1=new person("John",21); Person p2=new person("Jane",24);