Tuesday 5 July 2016

What is difference between Generic and Non generic collection

Non - generic and generic collection?
Generic collections - These are the collections that can hold data of same type and we can decide while initializing what type of data that collections can hold.

Advantages - Type Safe, Secure, reduced overhead of implicit and explicit conversions.

Non generic collections: it hold elements of different datatypes, it hold all elements as object type.
so it includes overhead of implicit and explicit conversions.There can be runtime errors

No comments:

Post a Comment

Contact Us:

Email:

Vinodkumar434@gmail.com,
vinodtechnosoft@gmail.com

Skype Name:

vinodtechnosoft