title: [C++ ]'File' : is not a class or namespace name
body: <pre><code>INCLUDE and USINGS
  using namespace System;
  using namespace System::ComponentModel;
  using namespace System::Collections;
  using namespace System::Windows::Forms;
  using namespace System::Data;
  using namespace System::Drawing;
  using namespace System::Xml;
  using namespace System::Diagnostics; 
  </code></pre>
  
  <p>I trying to make a filemover project. I take a referance a video on Youtube. This youtuber can work this codes but I can't. I get this error: 'File' : is not a class or namespace name.<code>enter code here</code></p>
  
  <pre><code>#pragma endregion
  private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {
              OpenFileDialog^ openFileDialog1 = gcnew OpenFileDialog;
              openFileDialog1-&gt;ShowDialog();
              textBox1-&gt;Text = openFileDialog1-&gt;FileName;
           }
  private: System::Void button2_Click(System::Object^  sender, System::EventArgs^  e) {
               OpenFileDialog^ openFileDialog1 = gcnew OpenFileDialog;
                  openFileDialog1-&gt;ShowDialog();
                  textBox2-&gt;Text = openFileDialog1-&gt;FileName;
           }
  private: System::Void button3_Click(System::Object^  sender, System::EventArgs^  e) {
           File::Move(textBox1-&gt;Text,textBox2-&gt;Text);
           MessageBox::Show("Succes");
       }
  };
  </code></pre>
  
  <p>ERRORS</p>
  
  <blockquote>
    <p>(138): error C2653: 'File' : is not a class or namespace name
    (138): error C3728: 'event System::EventHandler ^System::Windows::Forms::Control::Move': event does not have a raise method
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========</p>
  </blockquote>