what is collections and
what is generics

Answers were Sorted based on User's Feedback



what is collections and what is generics..

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

what is collections and what is generics..

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

what is collections and what is generics..

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

what is collections and what is generics..

Answer / ilangkumaran

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

Post New Answer

More C Sharp Interview Questions

What is msil, and why should developers need an appreciation of it if at all?

0 Answers  


How to find methods of a assembly file (not using ILDASM)?

0 Answers  


what is the difference between interface and multiple interface?

0 Answers   Wipro,


What?s the difference between // comments, /* */ comments and /// comments?

2 Answers   Intel, Visual Soft,


What is polymorphism in c sharp?

0 Answers  






Is array reference type in c#?

0 Answers  


What is args c#?

0 Answers  


How many types of serialization are there in c#?

0 Answers  


Are objects passed by reference in c#?

0 Answers  


What is the use of inheritance in c#?

0 Answers  


How to force my .net app to run as administrator on windows 7?

0 Answers  


What are anonymous types in c#?

0 Answers  


Categories