The finally block adds a check to make sure that the FileStream object is not null before you call the Close method.

 
  • finally块添加了一项检查,以确保在调用Close方法前,FileStream对象不为nullNothingnullptr空引用(在Visual Basic中为Nothing)。
今日热词
目录 附录 查词历史