C# Compiler Error – CS8852 init-only property or indexer ‘{0}’ can

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

C# Compiler Error Code

CS8852

C# Compiler Description for the Code :CS8852

Init-only property or indexer ‘{0}’ can only be assigned in an object initializer, or on ‘this’ or ‘base’ in an instance constructor or an ‘init’ accessor.

Tags :

Leave Your Comment