title: Invoke static method in static class C# ASP.NET Web Forms
body: <p>I've placed a static class TestClass in the App_Code folder. The class contains a static method TestMethod. From Default.aspx.cs via Button_Click method, I'm trying to invoke TestMethod. - test = TestClass.TestMethod(). 
  This gives error: 'TestClass' is inaccessible due to its protection level.</p>
  
  <p>It feels like the static class and the _Default class should be placed into a common namespace, but this would "exclude" the Default.aspx controls references.</p>
  
  <p>What am I doing wrong?</p>