what is generics?
can u explain 5 to 6 examples on generics that covers
class,method,structure,list,delegates?

Answer Posted / pushparaj pentakota

collections allows you to store any type of value in it but generics stops you to enter any type of value in it it allows you for only particular type values.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do you need boxing in c#?

490


Can we override interface method?

532


Why is it called c sharp?

519


Are private members inherited in c#?

568


Is c# and .net same?

494






What is polymorphism c# example?

485


Explain more on CLR

753


Can a string be null c#?

500


What is the difference between dictionary and hashtable in c#?

472


Explain constructor in c#?

686


How many types of constructors are there in c#?

470


How can you prevent escaping on backslashes in C# with string definitions?

700


Name the connections does microsoft sql server support?

487


Define multicast c# delegate?

560


What is xor operator in c#?

517