Recently, some netizens said that it is difficult to take out the value in the HashTable, which is invisible in Java. There is a get method. In fact, it is the same in .NET, its usage is similar to seeion. The value is as follows:
Hashtable myhash = new hashtable ();
Myhash.Add ("Key1", "Value1");
Myhash ["key1"]. TOSTRING ();
It is used in brackets to index value, and the value taken is an Object type, so it must be properly converted.