IDictionary savedState = new Hashtable();
No entiendo por que se le referencia a la interfaz IDictionary una instancia de la Hashtable?. Si alguien me sacara de esa duda se lo agradeceria muchisimo.
Saludos
Código:
using System;
using System.Collections;
using System.Configuration.Install;
public class Program
{
static void Main(string[] args)
{
IDictionary savedState = new Hashtable();
try
{
string[] cmdLine = new string[] { "/LogFile=install.log" };
AssemblyInstaller testAssemblyInstaller = new AssemblyInstaller("AssemblyWithInstallerClass.exe", cmdLine);
testAssemblyInstaller.Install(savedState);
testAssemblyInstaller.Commit(savedState);
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
Console.ReadLine();
}
}

