What r collections c sharp?

Answer Posted / gladiator

Dot Net Provides Collection Classes which are used for Data
Storage and Data Retrieval.

This collection classes implements the ICollection
Interface which extends IEnumerator interface.

IDictionary and IList Interface extends ICollection
Interfrace.

IList is for values, while IDictioanry is for collection of
(Key,Values) pair.

Collection that implement IList are: System.Array and
System.Collections.ArrayList.

Collections that implement IDictionary are Hashtable,
ListDictionary, SortedList, HybridDictionary.

Collections derived from ICollection are: Stak, BitArray,
Queue, NameValueCollection.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the different types of delegates used in c#.

503


How many types of interface are there in c#?

465


What is meant by console programming?

472


What is a decimal c#?

464


What is the difference between values and reference types?

519






Define delegation in .net?

482


What is the benefit of delegate in c#?

490


To create a localized application which namespaces are necessary?

519


What is lazy in c#?

506


Explain “static” keyword in c#?

472


Where is c# compiler located?

488


What are the differences between value types and reference types?

545


My switch statement works differently! Why?

509


Is string nullable in c#?

452


What's the difference between an integer and int?

523