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 are the types of parameters in c#?

0 Answers  


What is Fragmentation and its Types?

0 Answers   MCN Solutions,


What is state c#?

0 Answers  


What is difference between continue and break in c#?

0 Answers  


What is difference between list and dictionary in c#?

0 Answers  


Distinguish between array and arraylist in c#?

0 Answers  


List the differences between method overriding and method overloading?

0 Answers  


What does int parse do in c#?

0 Answers  


What is the use of jit ? Jit (just - in - time) is a compiler which converts msil code to

0 Answers  


What are delegates?

0 Answers   TCS,


Why do we need constructor?

0 Answers  


Explain metadata in c#.

0 Answers  


Categories