I'm trying to create a method that checks if this file ( todayfile.txt) is created if not I need it to create it. Here is what I thinking of :
private void ReadWater()
{
try
{
StreamReader inputFile;
// I want to check if there is a file named ( Todayfile.txt )
if (// if this file ( Todayfile.txt) is founded)
{
// Do this
}
else // if there is no file in this nmae ( Todayfile.text )
{
// create a new file
}
}
catch (Exception ex)
{
}
}