title: Create Multiple Instances of a Form (and keep them there) in C#
body: <p>I'm <strong>very</strong> new to C#, and I'm trying to create a Windows Form Application that would create multiple instances of the same form and keep them in existence, and end them all on a certain keypress. Right now, I'm having some difficulties with keeping said forms from automatically closing. Since I'm new to c#, I have no idea why. I also have no idea where to look for a problem like this, so this question may be a duplicate. Here's my (probably severely butchered) main code so far (from the main file, in this case, Program.cs):</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Runtime.InteropServices;
  using System.Threading;
  using System.Threading.Tasks;
  using System.Windows.Forms;
  using System.Windows.Input;
  
  namespace WindowsFormProgram1
  {
  
  
      static class Program
      {
          /// &lt;summary&gt;
          /// The main entry point for the application.
          /// &lt;/summary&gt;
          /// 
          [STAThread]
          static void Main()
          {
              Application.EnableVisualStyles();
              Application.SetCompatibleTextRenderingDefault(false);
  
  
              for (int i = 0; i &lt; 15; i++)
              {
                  new Form1().Show();
                  Thread.Sleep(100);
              }        
          }
      }
  }
  </code></pre>
  
  <p>Any answer would be appreciated greatly. As I mentioned before, I only have a rudimentary understanding of C#, and this may simply be a duplicate.</p>