c# file exist

C#
if (File.Exists("file.exe"))
{
	//file exist
} else {
  //does not exist
}
Source

Also in C#: