I use the using statement as follows:
using (StreamReader reader = new StreamReader(path)) { // ... reader.Close(); }
In the initialization string, a FileNotFoundException
exception is FileNotFoundException
Could not find file '...'.
which throws out the constructor StreamReader , after which the program ends. Question: Doesn't the using statement include the default exception handling itself (call Dispose) and need to handle it yourself?