C# Compiler Error – CS0825 the contextual keyword ‘var’ may only ap

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

C# Compiler Error Code

CS0825

C# Compiler Description for the Code :CS0825

The contextual keyword ‘var’ may only appear within a local variable declaration or in script code