title: C# Access a static method that is hidden by a local property
body: <p>I'm sure this must have been asked already, but I can't seem to find the answer. I need to know how to access a static method, when the class it is defined within has been hidden by an instance method with the same name.</p>
  
  <p>I have a class which exposes a static method as follows:</p>
  
  <pre><code>public class Plan
  {
      public static Plan Generate(Project project)
      {
          var plan = new Plan();
          // ... 
          return plan;
      }
  }
  </code></pre>
  
  <p>I then have another class which contains a method called "Plan", from which I want to call the static method mentioned above:</p>
  
  <pre><code>public ActionResult Plan(int id)
  {
      // ...
      var plan = Plan.Generate(project);
      // ...
  }
  </code></pre>
  
  <p>The problem is that the class name 'Plan' is hidden by the method name, so I cannot call the static method directly.</p>