What is the Generic and non generic collections?

Mishra Ji

Total Post:37

Points:185

Posted by  Mishra Ji
C#
 125  View(s)
Ratings:
Rate this:
  1. What is the Generic and non generic collections?

    These are two types of collections one is generic collection another one is non-generic collection.

    Generic Collection:

    Into this, We can group one type of object in a single collection is called generic collection. Here we don't need to convert a particular type like string, int, etc.

    Non Generic Collection:

    Into this, We can group any type of object in a single collection is called non-generic collection. Here we need to convert a particular type like string, int,etc., otherwise, we will face issues in run time.

Answer