[阅读: 603] 2005-01-24 07:44:28
stream.Close();
stream = null;
close方法产生了exception,所以 stream = null 没有执行到
你的意思是说,如果改成
tr
{
stream.Close();
}
finally
{
stream = null;
}
那么这个对象会被释放?不会保留在垃圾队列中?
DISSENT IS THE HIGHEST FORM OF PATRIOTISM !
--Thomas Jefferson