Solved!! A local or parameter named cannot be declared in this scope Click to Watch Video

A local or parameter named cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter


Problem: When declaring a variable inside a using directive in C# (C-Sharp) you might get an error that says, "A local or parameter named 'Dm' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter".

 

Solution: Look around in the function and make sure that the Variable is not declared twice.

Technology
published
v.0.02





For peering opportunity Autonomouse System Number: AS401345 Custom Software Development at ErnesTech Email Address[email protected]