diff --git a/docs/guides/getting_started/samples/intro/structure.cs b/docs/guides/getting_started/samples/intro/structure.cs index 43e0f33cd..3434619fa 100644 --- a/docs/guides/getting_started/samples/intro/structure.cs +++ b/docs/guides/getting_started/samples/intro/structure.cs @@ -66,7 +66,7 @@ class Program // If this method is getting pretty long, you can seperate it out into another file using partials. private static IServiceProvider ConfigureServices() { - map = new ServiceCollection() + var map = new ServiceCollection() // Repeat this for all the service classes // and other dependencies that your commands might need. .AddSingleton(new SomeServiceClass());