From a07c7301df777358b81deef720643830014b3d81 Mon Sep 17 00:00:00 2001 From: dadhi Date: Wed, 6 Nov 2024 15:58:13 +0100 Subject: [PATCH] small cleanup --- samples/ConsoleApp/Program.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/samples/ConsoleApp/Program.cs b/samples/ConsoleApp/Program.cs index 283563c0a..5d91bfa0e 100644 --- a/samples/ConsoleApp/Program.cs +++ b/samples/ConsoleApp/Program.cs @@ -4,7 +4,6 @@ using Microsoft.Extensions.Hosting; using DryIoc; using DryIoc.Microsoft.DependencyInjection; -using static System.Console; HostApplicationBuilder builder = Host.CreateApplicationBuilder(args); builder.Services.AddTransient(); @@ -29,7 +28,6 @@ // Resolve the actual DryIoc.IContainer from the services. var container = host.Services.GetRequiredService(); var serviceProvider = container.Resolve(); - Console.WriteLine($"The actual container is {container.GetType().FullName}, and the service provider is {serviceProvider.GetType().FullName}"); ExemplifyDisposableScoping(host.Services, "Scope 1");