title: Define a global variable in Nunit SetUpFixture class
body: <p>Hi I have to use a variable in all my tests make with Nunit</p>
  
  <pre><code>SimpleContainer container = new SimpleContainer();  
  </code></pre>
  
  <p>so I try to put this definition in the setup class:</p>
  
  <pre><code>[SetUpFixture]
  public static class TestSetup
  {
      public static SimpleContainer container = new SimpleContainer();    
  }
  </code></pre>
  
  <p>I use static class for ability to write:</p>
  
  <pre><code>IMyClass myClassExpected = (IMyClass)TestSetup.container.GetInstance(typeof(IMyClass), null);
  </code></pre>
  
  <p>but after running test I get this error: "TestSetup is an abstract class"</p>
  
  <p>I simply don't understand where is the problem</p>