C# Compiler Error – CS1918 members of property ‘{0}’ of type ‘{1}’

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

C# Compiler Error Code

CS1918

C# Compiler Description for the Code :CS1918

Members of property ‘{0}’ of type ‘{1}’ cannot be assigned with an object initializer because it is of a value type