C# Compiler Error – CS8873 record member ‘{0}’ must be public.

In this blog post, you’ll learn more about the C# Compiler Error – CS8873 and the related message description

C# Compiler Error Code

CS8873

C# Compiler Description for the Code :CS8873

Record member ‘{0}’ must be public.