using System; using System.IO; static class MainClass { static void Main(string[] args) { Console.WriteLine(File.Exists("c:\\test.txt")); } }