What r collections c sharp?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
4. Describe the process when we send a request URL? And who is responsible for that?
What is the difference between values and reference types?
What is difference between dictionary and list in c#?
What is the use of ispostback in c#?
What is the C# syntax to catch any possible exception?
Is vs as c#?
What is the difference between class and abstract class?
How do I do implement a assert?
What if an error occurs in Catch block, how can you prevent it?
What is application c#?
Explain dataset.acceptchanges method in .net?
Can the nested class access, the containing class. Give an example?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)