C# Compiler Error – CS0198 a static readonly field cannot be assign

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

C# Compiler Error Code

CS0198

C# Compiler Description for the Code :CS0198

A static readonly field cannot be assigned to (except in a static constructor or a variable initializer)

Tags :

Leave Your Comment