C# Compiler Error – CS1540 cannot access protected member ‘{0}’ via

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

C# Compiler Error Code

CS1540

C# Compiler Description for the Code :CS1540

Cannot access protected member ‘{0}’ via a qualifier of type ‘{1}’; the qualifier must be of type ‘{2}’ (or derived from it)

Tags :

Leave Your Comment