title: Enum type in constructor
body: <p>So I have to initiate an object from a class into the main form, but the arguments I have to put in the constructor are from an enum type I made in that class. </p>
  
  <pre><code>    private List&lt;Geluidsfragment&gt; fragmenten;
      private enum ThemaSoorten 
      { 
          Muziek, 
          Luisterboeken, 
          Cabaretshows 
      }    
  </code></pre>
  
  <p>^this part is now outside the class, as was advised.</p>
  
  <pre><code>// Constrcutors
  
      public BGExperience(ThemaSoorten thema)
      {
          fragmenten = new List&lt;Geluidsfragment&gt;();
          this.thema = thema;
      }    
  </code></pre>
  
  <p>These are the fields and constructor for the field. Below is the initiation of the object of this class I need.</p>
  
  <pre><code>public GeluidsfragmentForm()
      {
          InitializeComponent();
          BGExperience bgExperience = new BGExperience("Muziek");
      }
  </code></pre>
  
  <p>So the overload has to be of the type ThemaSoorten and it has to be in the enum, but at this point it gets stuck.</p>
  
  <p>Anyone know how to solve this?</p>