title: Issue with namespaces in C#
body: <pre><code>...
  using System.Xml;
  
  namespace WindowsFormsApplication2
  {
      public partial class Form2 : Form
      {
          XmlDocument activeDoc=new XmlDocument();
          public Form2(string path)
          {
              InitializeComponent();
          }
  
  
          private void checkBox1_CheckedChanged(object sender, EventArgs e)
          {
                  MessageBox.Show(Convert.ToString(sender),Convert.ToString(e));
          }
  
          private void button1_Click(object sender, EventArgs e)
          {
              save(path);
          }
          private void save(string path){
              activeDoc.Save(path);
          }
      }
  }
  </code></pre>
  
  <p>Why does button1_click function say "'path' element is not availiable in this context"?
  I am sure that Form2 receives 'path', because diagnostic messages with path do work.</p>