Hi ,
i have a file "IL_ALLO*.csv " where * refers to date and time which changes on a daily basis
Now i want to check if above mentioned file is empty or not and get the full name of the file name which is empty.How to retrieve the same.Please help
regards,
Deepika
Deepika
Afzaal Ahmad ZeeshanPosted Jul 2, 2015, 7:57 AM
if(File.ReadAllText("") == "") { // Empty
} else {
// Nope, there is something
}