how to check file exist or not in file in asp.net core example
Example: c# file exist
if (File.Exists("file.exe"))
{
//file exist
} else {
//does not exist
}
if (File.Exists("file.exe"))
{
//file exist
} else {
//does not exist
}