File.Exists : File : File Directory Stream C# Examples


C# Examples » File Directory Stream » File »

 

File.Exists









    
using  System;
using  System.IO;

static  class  MainClass
{
        static  void  Main(string[]  args)
        {

                Console.WriteLine(File.Exists("c:\\test.txt"));
        }
}
    
   
  
   



Output

True


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo File Directory Stream
» File