title: .Net Core DI constructor list parameteres initialized with empty lists instead of null
body: <p>Why when using .Net Core DI, IEnumerable parameteres in constructors initialize with empty arrays/lists?
  Is there any ways to initialize it with nulls, except of writen lambda in ServiceCollectionExtenson.cs or edit SomeoneClass?</p>
  <pre><code>   public class SomeoneClass
      {
          private readonly IEnumerable&lt;string&gt; _list;
          public SomeoneClass(IEnumerable&lt;string&gt; list = null)
          {
              _list = list; // &lt;===== this is initialize with string[0] not a null
          }
      }
  
      public static class ServiceCollectionExtensions
      {
          public static void ConfigureApplicationServices(this IServiceCollection services, 
             IConfiguration configuration)
          {
               services.addScoped&lt;SomeoneClass&gt;();
          }
       }
  </code></pre>