title: C#: Function in Function possible?
body: <p>Is it possible to declare a method within another method in C#?</p>
  
  <p>For example like that:</p>
  
  <pre><code>void OuterMethod()
  {
      int anything = 1;
      InnerMethod();     // call function
      void InnerMethod()
      {
          int PlitschPlatsch = 2;
      }
  }
  </code></pre>