title: About partial class (...inaccessible due to its protection level)
body: <p>I have a partial class, called Point, and in them, I wanted to practice by createing a JustTest method, (which is pointless, because it just writes out a line), however I get this error "`Program.Point.JustTest()' is inaccessible due to its protection level". </p>
  
  <pre><code>public partial class Point
  {
      private int x;
      private int y;
  
      public Point (int x, int y)
      {
          this.x = x;
          this.y = y;
      }
  
      partial void JustTest();
  }
  
  public partial class Point
  {
      partial void JustTest()
      {
          Console.WriteLine("Should I work?");
      }
  
      public int setX
      {
          set
          {
              x = value;
  
          }
          get
          {
              return x;
          }
      }
  
      public int setY
      {
          set
          {
              y = value;
  
          }
          get
          {
              return y;
          }
      }
  }
  
  static void Main()
  {
      Point p1 = new Point(20,30);        
      p1.JustTest();
  }
  </code></pre>