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 |
How do you define a predicate?
What is the use of console?
why C#.net doesnot support prcedures and why it supports structs,functions
What are Types of assemblies that can be created in dotnet
What can be done with c#?
What are object pooling and connection pooling and difference? Where do we set the Min and Max Pool size for connection pooling?
What does dbml mean in texting?
What is the difference between ienumerable and iqueryable?
What is constructor overloading in c#?
what are the files we need to deploay a project in the system?
Why we put script in head of asp.net page Why not in body?
Explain “static” keyword in c#?