Brother I am not trying to logThe basic question of mine was

I have written two same program only the difference is I have changed the
location of
log_out.Close();
in both the programmes
--> Why error is given in the second program
And
--> What if I want to take the output of any statement like
Console.WriteLine("This is the end of the log file.");
after closing StreamWriter

Reply via email to