can we create array of hashtable in c#.Net?
Hashtable itself is a collect开发者_开发技巧ion but,can we create an array of hashtable?
Why not.
Hashtable[] hashes = new Hashtable[20];
But it is recomended to use Dictionary<TKey, TValue>
instead of Hashtables.
Here you go...
Hashtable[] arrayOfHashtables = new Hashtable[42];
精彩评论