I am working on an issue I do not remember ever having before. I am using VS2012 C#
When i add using System.IO; to my main program everything works fine
System.IO
You need to put it inside a function or sub, property and so forth.