﻿using System;
using Autofac;
using WordList.Composition;

namespace WordList {
  public class Program {
    public static void Main(string[] args) {
      var compositionRoot = CompositionRoot.Compose();
      var wordListProgram = compositionRoot.Resolve<IWordListProgram>();
      wordListProgram.Run();

      Console.WriteLine("Press any key to quit...");
      Console.ReadKey();
    }
  }
}
﻿using System;
using Autofac;
using WordList.Composition;

namespace WordList {
  public class Program {
    public static void Main(string[] args) {
      CompositionRoot.Compose().Resolve<IWordListProgram>().Run();
      Console.WriteLine("Press any key to quit...");
      Console.ReadKey();
    }
  }
}
Make the code in the entrypoint even shorter.
Make the code in the entrypoint even shorter.
