What r collections c sharp?

Answers were Sorted based on User's Feedback



What r collections c sharp?..

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

What r collections c sharp?..

Answer / senthil kumar

c-sharp have the collections.Thats very useful utility
package.
using System.Collections is the base class

stack
queue
hashtable
arraylist etc.., is the available class.

Is This Answer Correct ?    14 Yes 6 No

What r collections c sharp?..

Answer / nagarjunareddy.s

collection classes in c#.net is data structors this data
structors are hold the data in diffrent way for flexible
operations
this collection classes are derived from i collection and i
list ,ienumerable,idictionary interfaces..
in .net version 1.0 having different type of collection classes
this are all defined with in system.collection namespaces
main imp classes
array list,hash table,stack,queue
in the above collection classes support diff way to data
storing and retrieving
in .net 2.0 having different type of collection classes this
classes are define under system.collection.generic namespce
imp classes
list --this is corresponding to array list
dictionay--this is corresponding to hashtable
stack nad heap --this are corresponding to same stack and
heap collection classes in the system.collection namespace

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Wats the diff between sealed class and private class in inheritance

7 Answers   iSoft,


What is a cs file?

0 Answers  


What is args c#?

0 Answers  


Explain how to add controls dynamically to the form using c#.net.

0 Answers  


What will be the output of the following code?

0 Answers  






what is CLONE() method?

1 Answers  


What is difference between yielding and sleeping?

0 Answers  


What is the default value of boolean variable?

0 Answers  


What are the types of access modifiers?

0 Answers  


Is c# int immutable?

0 Answers  


How do you specify a custom attribute for the entire assembly (rather than for a class)?

0 Answers  


Why do we write system in c#?

0 Answers  


Categories