C#のメモリ解放ついて
usingステートメントを使います。
以下のサイトが参考になるかと。
・オブジェクトの破棄を保証する
http://jeanne.wankuma.com/tips/programing/dispose.html
・資源の解放を確実に行う
http://homepage3.nifty.com/midori_no_bike/CS/sample.html#083
usingステートメントを使います。
以下のサイトが参考になるかと。
・オブジェクトの破棄を保証する
http://jeanne.wankuma.com/tips/programing/dispose.html
・資源の解放を確実に行う
http://homepage3.nifty.com/midori_no_bike/CS/sample.html#083