title: How do I pass element of static array to non static method?
body: <p>I have a static array and I need to pass an arbitrary element of it to a non-static method.</p>
  
  <p>How do I do that?</p>
  
  <pre><code>public class MyClass
  {
      public static int[] staticArray = { 3, 11, 43, 683, 2731 };
  
      public void SomeMethod(int value)
      {
          //...stuff...
      }
  
      public static void staticMethod()
      {
           SomeMethod(staticArray[2]);    //error here
      }
  }
  </code></pre>
  
  <p>When I try something like that I get the error <code>An object reference is required for the non-static field, method, or property</code>.</p>