public static void Main(string[] args) { IKernel kernel = new StandardKernel(new WarriorModule()); IWarrior samurai = kernel.Get <IWarrior>(); samurai.Attack("bad programmers"); Console.ReadLine(); }