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
Is classic asp still supported?
How do you administer security for my machine for an enterprise?
What is pdf aspx?
Define a variable in asp?
Define application-scope?
how can we done appllication deployment
Explain the difference between sap r/2 and r/3?
Is asp a scripting language?
What is wsdl file? (explain in detail)
What data types does the rangevalidator control support?
Define clientcertificate collection?
What is a form collection in asp?
What are the asp objects?
what is the need of a sealed class when we are having a structure
Why asp is used?