<system.net>
<connectionManagement>
<add address="*" maxconnection="30" />
</connectionManagement>
</system.net>
<connectionManagement>
<add address="*" maxconnection="30" />
</connectionManagement>
</system.net>
using System;
using System.Configuration.Install;
using System.Diagnostics;
using System.ComponentModel;
[RunInstaller(true)]
public class MyEventLogInstaller: Installer
{
    private EventLogInstaller myEventLogInstaller;
    public MyEventLogInstaller() 
    {
        // Create an instance of an EventLogInstaller.
        myEventLogInstaller = new EventLogInstaller();
        // Set the source name of the event log.
        myEventLogInstaller.Source = "NewLogSource";
        // Set the event log that the source writes entries to.
        myEventLogInstaller.Log = "MyNewLog";
        // Add myEventLogInstaller to the Installer collection.
        Installers.Add(myEventLogInstaller);   
    }
}
C:\xxx\bin>installutil App_Code.dll
C:\xxx\bin>installutil App_Code.dll
Microsoft (R) .NET Framework Installation utility Version 4.0.30319.17929
Copyright (C) Microsoft Corporation.  All rights reserved.
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the C:\xxx\bin\App_Code.dll assembly's progress.
The file is located at C:\xxx\bin\App_Code.InstallLog.
Installing assembly 'C:\xxx\bin\App_Code.dll'.
Affected parameters are:
   logtoconsole =
   logfile = C:\xxx\bin\App_Code.InstallLog
   assemblypath = C:\xxx\bin\App_Code.dll
Creating EventLog source SemanticLoggingEventLogPerfTests in log ...
The Install phase completed successfully, and the Commit phase is beginning.
See the contents of the log file for the C:\xxx\bin\App_Code.dll assembly's progress.
The file is located at C:\xxx\bin\App_Code.Install
Log.
Committing assembly 'C:\xxx\bin\App_Code.dll'.
Affected parameters are:
   logtoconsole =
   logfile = C:\xxx\bin\App_Code.InstallLog
   assemblypath = C:\xxx\bin\App_Code.dll
The Commit phase completed successfully.
The transacted install has completed.
    this.Html = HttpRequester.RequestHttp(string.Format(this.RequestUrl, tickerSymbol), out errorCode);
    if (errorCode < 0)
    {
        return errorCode;
    }
    string RegexPricePattern = @"<span class=""time_rtq_ticker""><span id=""[^>\t\r\n\v\f]*"">(?<price>\d*\.\d*)</span>?";
    Regex priceFinder = new Regex(RegexPricePattern, RegexOptions.IgnoreCase);
    Match priceMatch = priceFinder.Match(this.Html);
    if (priceMatch.Success)
    {
        string priceString = priceMatch.Groups["price"].Value;
    }
    new Beer();
    class Beer
    {
        String Name;
        public Beer() : this("Noname")
        {
        }
        public Beer(string name)
        {
            this.Name = name;
        }
    }
.method private hidebysig static void  Main(string[] args) cil managed
{
  .entrypoint
  // Code size       8 (0x8)
  .maxstack  8
  IL_0000:  nop
  IL_0001:  newobj     instance void SampleDynamicBinding.Beer::.ctor()
  IL_0006:  pop
  IL_0007:  ret
} // end of method Program::Main
    Beer beer = new Beer();
.method private hidebysig static void  Main(string[] args) cil managed
{
  .entrypoint
  // Code size       8 (0x8)
  .maxstack  1
  .locals init ([0] class SampleDynamicBinding.Beer beer)
  IL_0000:  nop
  IL_0001:  newobj     instance void SampleDynamicBinding.Beer::.ctor()
  IL_0006:  stloc.0
  IL_0007:  ret
} // end of method Program::Main
    class Beer
    {
        string Name;
        public Beer() : this("Noname")
        {
        }
        public Beer(string name)
        {
            this.Name = name;
        }
        public void WriteName()
        {
            Console.WriteLine(this.Name);
        }
    }
    class Singha : Beer
    {
        string Name; 
        public Singha() : this("Singha")
        {
        }
        public Singha(string name)
        {
            this.Name = name;
        }
        public new void WriteName()
        {
            Console.WriteLine(this.Name);
        }
    }
    Singha beer = new Singha();
    Beer beer = new Singha();
    Singha beer = new Beer();
    Singha beer = new Singha();
    beer.WriteName();               // dynamic type คือ Singha
    ((Beer)beer).WriteName();       // dynamic type คือ Beer
    Singha
    Noname
    Beer beer = new Singha();
    beer.WriteName();               // dynamic type คือ Singha
    ((Beer)beer).WriteName();       // dynamic type คือ Beer
    Noname
    Noname
    class Beer
    {
        string Name;
        public Beer() : this("Noname")
        {
        }
        public Beer(string name)
        {
            this.Name = name;
        }
        public virtual void WriteName()
        {
            Console.WriteLine(this.Name);
        }
    }
    class Singha : Beer
    {
        string Name; 
        public Singha() : this("Singha")
        {
        }
        public Singha(string name)
        {
            this.Name = name;
        }
        public override void WriteName()
        {
            Console.WriteLine(this.Name);
        }
    }
    class Program
    {
        static void Main(string[] args)
        {
            Beer beer = new Singha();
            beer.WriteName();               
            ((Beer)beer).WriteName();       
        }
    }
 
    Singha
    Singha