Just another simple developer's thoughts!
using System; using System.IO; namespace csharp { class Class1 { static void Main(string[] args) { if(File.Exists(@"c:\myfile.txt")) { Console.WriteLine("File exists"); } else { Console.WriteLine("Does not exist"); } } } }
No Comments