Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void AddElements()
- {
- int collectionLength = Int32.Parse(Console.ReadLine());
- for (int key = 0; key < collectionLength; key++)
- internalHashtable.Add(RandomClass.CreateRandomString(), key);
- }
- public void ShowElements()
- {
- foreach (var s in internalHashtable)
- Console.WriteLine("{0}t", s);
- }
- public void ShowElements()
- {
- foreach (DictionaryEntry s in internalHashtable)
- Console.WriteLine("{0}:t{1}", s.Key, s.Value);
- }
Add Comment
Please, Sign In to add comment