G
Guest
I am a true new comer in C#, and I haven't done much with files. I am trying
to open a file for input, but I don't know how to check if the file exists
first. I have a pretty crappy book that's truly not helping. Can somebody
please help? I want to try to write to the file and if a file not found
exception is thrown, I wan to create the file. Please help.
HS
to open a file for input, but I don't know how to check if the file exists
first. I have a pretty crappy book that's truly not helping. Can somebody
please help? I want to try to write to the file and if a file not found
exception is thrown, I wan to create the file. Please help.
HS