Tag: C# Errors

C# Compiler Error – CS0136 a local or parameter named ‘{0}’ cannot

In this blog post, you’ll learn more about the C# Compiler Error – CS0136 and the related message description C# Compiler Error Code CS0136 C# Compiler Description for the Code :CS0136 A local or parameter named ‘{0}’ cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter

C# Compiler Error – CS8798 partial method ‘{0}’ must have accessibi

In this blog post, you’ll learn more about the C# Compiler Error – CS8798 and the related message description C# Compiler Error Code CS8798 C# Compiler Description for the Code :CS8798 Partial method ‘{0}’ must have accessibility modifiers because it has a ‘virtual’, ‘override’, ‘sealed’, ‘new’, or ‘extern’ modifier.