Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyC#records vs classesSingle-choice MCQ

What do these two records print when compared with ==?

record Point(int X, int Y); var a = new Point(1, 2); var b = new Point(1, 2); Console.WriteLine(a == b);