Tell me about Dictionary Object?

Answers were Sorted based on User's Feedback



Tell me about Dictionary Object?..

Answer / guest

It it a collection Object used to store "name = value" pair
information. Collection of similar data.

Is This Answer Correct ?    1 Yes 0 No

Tell me about Dictionary Object?..

Answer / 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

More ASP Interview Questions

Define server object?

0 Answers  


Explain the life cycle of asp page.

0 Answers  


Describe how a browser-based Form POST becomes a Server-Side event like Button1_OnClick

1 Answers   ADC, Microsoft,


can any one tell me about dot net framework not basic detail

0 Answers  


What are the advantages of Cookies over Session Object?

1 Answers  






What is application object in asp?

0 Answers  


How do I view an aspx file?

0 Answers  


Describe ways to present an arbitrary endpoint (URL) and route requests to that endpoint to ASP.NET.

0 Answers  


What is the full name of asp in vb net?

0 Answers  


How to refresh an asp page on a single click of a button?

0 Answers  


Is asp better than php?

0 Answers  


What is asp format?

0 Answers  


Categories