static void Main(string[] args) { Wanghzh.Prism.Bootstrapper boot = new Mefstrapper(); boot.Run(); boot = null; Console.ReadKey(); }
static void Main() { var bootstraper = new Mefstrapper(); bootstraper.Run(); if (bootstraper is IDisposable) { ((IDisposable)bootstraper).Dispose(); } }