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, however when I add it to my class file it will not let me use all of the methods.
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. <<<<----- here i want to add File.Exists("Blablalba")
}
}
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,
System.IO.File.Exists(string)
is a method but is used like a type