| Author: ANIL PANDEY 20 Aug 2008 | Member Level: Diamond | Rating: Points: 4 |
hi,
When the Use of the object is over and furture u are not goign to reference that then u can use the Final or Dispose method
Genrally we write the code in the Finally Block
Try
Catch
Finally { CLose Dispose
}
because we have done our task.....
So use these method at the end of the function or ur application
Regards Anil
|
| Author: D.Jeya kumar(JK) 20 Aug 2008 | Member Level: Diamond | Rating: Points: 3 |
hi,
In finally block we can call the dispose method. finally block will be executed either error occurs or not. it will be always executed.
regards JK
|