Using System.Configuration.ConfigurationManager Example (VB.NET)

Imports System Imports System.Collections.Generic Imports System.Linq Imports System.Text Imports System.Configuration Imports System.Collections Imports System.Collections.Specialized Imports System.Diagnostics ‘ The following example shows how to use the ConfigurationManager ‘ class in a console application. ‘ ‘ IMPORTANT: To compile this example, you must add to the project ‘ a reference to the System.Configuration assembly. ‘ Namespace Samples.Aspnet…

2

Using System.Configuration.ConfigurationManager Example (C#)

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Configuration; using System.Collections; using System.Collections.Specialized; using System.Diagnostics; // The following example shows how to use the ConfigurationManager // class in a console application. // // IMPORTANT: To compile this example, you must add to the project // a reference to the System.Configuration assembly. // namespace Samples.Aspnet…

6