I have a hashtable where I have added something into it.
hastht.Add(no, new object[2]{class, command}
IDictionaryEnumerator myEnumerator = cmdqueue.GetEnumerator();
myEnumerator.MoveNext();
_key = myEnumerator.Key;
_value = myEnumerator.Value;
The _value contains class and command that I wish to get, but if I try
object[] xxx = (object[])_value;
I get the error that the cast is invalid. How do I solve this !
hastht.Add(no, new object[2]{class, command}
IDictionaryEnumerator myEnumerator = cmdqueue.GetEnumerator();
myEnumerator.MoveNext();
_key = myEnumerator.Key;
_value = myEnumerator.Value;
The _value contains class and command that I wish to get, but if I try
object[] xxx = (object[])_value;
I get the error that the cast is invalid. How do I solve this !