title: C# using system.io not woking in my class but works in main
body: <p>I am working on an issue I do not remember ever having before.
  I am using VS2012 C#</p>
  
  <p>When i add using <code>System.IO</code>; to my main program everything works fine, however when I add it to my class file it will not let me use all of the methods.</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.IO;
  using System.Data.SQLite;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  
  
  namespace FoxySearch
  {    
      class FoxySearch
      {
           File.    &lt;&lt;&lt;&lt;----- here i want to add File.Exists("Blablalba")
      }
  }
  </code></pre>
  
  <p>For some reason it wont let me add it. As soon as I add the period the intellisense closes and shows no options.When I then type it out myself it shows red and says, </p>
  
  <p><code>System.IO.File.Exists(string)</code> is a method but is used like a type</p>