what is collections and
what is generics
Answers were Sorted based on User's Feedback
Answer / osheen
COLLECTION:
Collection are used for grouping related objects that
allows us to iterate over those objects.
Generics:
Generic means make objects generalise.Generic types are the
types that take other type name to define their own type.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / ashwani kumar
collection in case of memory useful .its size is not
fixed,means the if we want to store data more than its
default size its automatically double its default size.but
in case of normal array we can do through redim also the
memory allocated is new[impact on the performance].
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / pushparaj pentakota
collections allows you to enter any type of date without
restriction but with generic we can restrict the user to
enter any type of data.
| Is This Answer Correct ? | 1 Yes | 1 No |
collections includes of arraylist and hashtables which are
similar to arrays but arrays we cant perform delete and add
operations whereas in collections it is possible some
addmethods are available
| Is This Answer Correct ? | 1 Yes | 3 No |
What is managed or unmanaged code?
What are the types of serialization?
what is Encapsulation?
C# called c sharp why?
How many aware interfaces are there?
Is collection a data structure?
Which compiler switch creates an xml file from xml comments in the files in an assembly?
What is the value which is accepted by all data types ?
What are the different approaches of passing parameters to a method?
Hi, Can we implement the Abstract class on interface in c#, If yes then provide the code implementation
What is the difference between Hash Table and Arrays?
Explain the difference between event and a delegate in c#?
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)