check that file exists
Published: 13. December 2008 | Updated: 26. October 2011License: Microsoft Public License (MS-PL)
Categories: File system » Files
Tags: C# Windows
Import namespace
using System.IO;
Code
bool exists = File.Exists(@"C:\test.txt");
| Send us feedback about this snippet » |





