title: Provide an array of origins to builder.WithOrigins in AddCors
body: <p>I thought there would already be an answer to this, but I could not find any.</p>
  <p>I have a CORS setup like this, in my API server.</p>
  <pre><code>    services.AddCors(options =&gt;
      {
          options.AddDefaultPolicy(builder =&gt; {
              builder.WithOrigins(AddCorsOrigin1LocalHost,
                                  AddCorsOrigin2ProductionSite,
                                  AddCorsOrigin3DevOrTestOrSomethingElseSite);
              builder.AllowAnyMethod();
              builder.AllowAnyHeader();
              builder.AllowCredentials();
          });
      });
  </code></pre>
  <p>I am adding the sites that I want, one by one, using a local string. This works as long as I only have 3 origins to use. I can keep changing the origins when I want.</p>
  <p>However, if I have a 4th origin or more origins, I have to add a new local string and update it in the above code block.</p>
  <p>I am curious, is there anyway, I can simply send a string collection of array or list. that way, when I have to add or remove origins, I could simply manipulate the string collection.</p>