using System;
using System.Linq;
using System.Collections.Generic;
public record Student
{
public string Name {get; set;}
public int Age {get; set;}
public Student(string name, int age)
this.Name = name;
this.Age = age;
}
public class Program
public static void Main()
var student = new Student("alice", 20);
var student2 = student;
Console.WriteLine(student == student2);