You'll need to add a reference to System.Configuration in your project's references folder.
System.Configuration
You should definitely be using the ConfigurationManager over the obsolete ConfigurationSettings.
ConfigurationManager
ConfigurationSettings
I want to connect a particular MONGODB database to c# application using Web.config. Please tell me how to do it?