private static void WithoutUsingContainer() { IGreetingService service = new GreetingService(); var controller = new HelloController(service); var greeting = controller.Action("Matthias"); Console.WriteLine(greeting); }