Skip to main content
🔮 Output PredictionC# C# / .NET Hard⚡+35 XP

Record Equality

What does this print?

C# / .NET
record Point(int X, int Y);
var p1 = new Point(1, 2);
var p2 = new Point(1, 2);
Console.WriteLine(p1 == p2);

🔮 What is the output?