[Mono-list] Closing console application on Linux

Steve Harp steve at abelscreening.com
Thu May 1 12:57:29 EDT 2008


Hi All,

 

I'm writing a console application to run on Linux.  The application will
have a database connection open and may also read/write text files at any
time.  How do I ensure that connections and files are closed properly if
someone stops the application (Ctrl+Z, Ctrl+C, etc.)?

 

Thanks,

Steve

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080501/209e841e/attachment.html 


More information about the Mono-list mailing list