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 polymorphism and its types in c#?

0 Answers  


What is HashTable, what is the use of it, when do we use (purpose).

2 Answers  


I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??

0 Answers  


What is an escape sequence?

0 Answers  


Why would you use untrusted verification?

0 Answers  


Explain about Protected and protected internal, ?internal? access-specifier?

7 Answers  


Can we assign null value to integer?

0 Answers  


What is a class level variable in c#?

0 Answers  


Can a private virtual method can be overridden?

0 Answers  


what is a constructor? What is a destructor?

0 Answers  


Can a sealed class be used as a base class?

0 Answers  


What is the difference between private and protected in c#?

0 Answers  


Categories