How to solve The name ‘ConfigurationManager’ does not exist in the current context.?

The name ‘ConfigurationManager’ does not exist in the current context.

I try to solve this problem in below.

Step:1-First, You have to add the Reference into the assembly System.Configuration.dll
Step:2-Write click on Solution Explorer.
Step:3-Select add Reference and than Find the System.Configuration
Step:4-You are also for the NameValueCollection And you have to write Using System.Collections.Specialized.

Now Check,I think it work Properly

About the Author

avatar