difference between generics and genericcollections?
what is difference between generics and genericcollections? with example
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sujeet SumanPosted Feb 10, 2016, 1:23 AM
Raja TPosted Feb 9, 2016, 11:42 PM
Generics are different from generic collections.Generic collections are emerged from generic concept. It helps us to maximize code reuse, performance and type safety.
Generics are strongly type collections.
Generics helps to decouple the data-type from the logical code snippet which makes the code to reuse again and again.
We can use generic collections in our code by calling the namespace "using System.Collections.Generic".
Generic Collections helps us to create flexible type-safe, strong type collections at compile time.
Generic collections helps us to separate the collection logic (Add, Search, Remove, Clear) from different data-types available in .net.
more details check below linkVipan SharmaPosted Feb 9, 2016, 11:35 PM
Rajeev PunhaniPosted Feb 9, 2016, 9:22 PM