質問編集履歴
2
タイトル変更
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
c#
|
1
|
+
c# newしたオブジェクト破棄する方法
|
body
CHANGED
File without changes
|
1
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -89,11 +89,10 @@
|
|
89
89
|
上記のようなプログラムを作成しました。
|
90
90
|
今悩んでいるのは
|
91
91
|
Button1_Click()実行後にButton2_Click()を実行すると、
|
92
|
-
「private static Dictionary<string, AppInterface> _AppList = new Dictionary<string, AppInterface>();」
|
92
|
+
「private static Dictionary<string, AppInterface> _AppList = new Dictionary<string, AppInterface>();」
|
93
|
-
プログラムが起動している間は常に「2件」値が入っている状態になります。(これはこれでOKなんです)
|
93
|
+
には、プログラムが起動している間は常に「2件」値が入っている状態になります。(これはこれでOKなんです)
|
94
94
|
Button1_Click()実行:_AppListに追加
|
95
95
|
Button2_Click()実行:_AppListに追加
|
96
|
-
される動きで問題ないのですが、
|
97
96
|
|
98
97
|
Button1_Click()の処理が終わった後に、_AppList から削除したい場合、どうしたら実現できましか?
|
99
98
|
いい方法はありますか?
|