CodexBloom - AI-Powered Q&A Platform

C# 11 - Null Reference Exception when using LINQ with Record Types in Group By Clause

👀 Views: 3 💬 Answers: 1 📅 Created: 2025-06-06
c# linq record-types

I'm encountering a `NullReferenceException` when trying to group a list of records using LINQ in C# 11. I have a simple record type defined as follows: ```csha...