Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
test.aspx.csファイルがあり、コードでHashTableを使用しています。ただし、コンパイラは常に、名前空間が見つからないと文句を言います。すでにSystem.Collectionsを追加しました。名前空間ですが、それでも同じエラーが表示されます!何が問題ですか??
推測ですが、おそらく次のようにハッシュテーブルをインスタンス化しています。
HashTable table = new HashTable();
次のように変更します。
Hashtable table = new Hashtable();