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

Answers were Sorted based on User's Feedback



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

Answer / abc

Collections need boxing and unboxing of data while
retrieving the data.
But Generic does not require

Is This Answer Correct ?    10 Yes 0 No

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

Answer / 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

More C Sharp Interview Questions

What is the difference between ref and out in c#?

0 Answers  


What is dataset and dataadapter in c#?

0 Answers  


What is a method signature c#?

0 Answers  


What are the ways to deploy an assembly?

3 Answers  


Is string a primitive data type in c#?

0 Answers  






Why extension method is static?

0 Answers  


What is generic in c#?

0 Answers  


How are methods overloaded?

0 Answers  


Why do we use namespace in c#?

0 Answers  


what are wrapper classes?

1 Answers  


What is int32 maxvalue?

0 Answers  


What is difference between overloading and short circuiting?

0 Answers  


Categories