Answer Posted / sonali
A dictionary is actually just another collection of
Key/Value pairs, just like a HashTable, except that you
declare a type for the Key and Value.
An example of a simple Dictionary object would be something
like:
Dictionary<int, string> newDict = new Dictionary<int,string>();
When you get the key or value, you are given an actual
Object of a specific type. With a HashTable, the Key and
Value are just Objects, meaning they have no type and must
be converted to something in order to be more than just that.
With a dictionary, you can declare the Object types and get
back useful Objects or those types
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
i am creating an e-learning site, i want my customers to pay directly through paypall to my paypall account directly from my page ? is it possible ? is there any ready paypall script ?
How to include active x controls in asp code?
i want question papers of ASP
how can we delete cookies by coding part . so pls help me
___________ and ____________ properity to be used to create localized version of a form
Actually i downloaded Ajax news flash module but i am having issues enabling it on my site. need help.
What is n-tier system?
How to refresh an asp page on a single click of a button?
what are web handlers?
What is the default scripting language in asp?
What is the difference between jsp and asp?
Name the browsers that can access asp pages?
Explain the difference between asp and html? Or why asp is better than html?
How we load the page in ASP?
Why asp is used?