What is Generic? explain clearly?

Answer Posted / dhanunjaya

generic is a general data type in c# similar to template in
c++.by using generic we can assign any type of value to the
generic variable.we have generic methods,generic classes
also.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between executescalar and executenonquery?

518


Can you use c# without .net?

552


State differences between MVC and WebAPI

611


What a diffgram is, and a good use for one?

575


What is the difference between mvc and asp.net? : Asp.Net MVC

481






What are the authentication types in asp.net?

575


Explain the advantages of passport authentication.

515


How to create discussion forum in asp.net mvc? : Asp.Net MVC

535


What is the difference between pathparam and queryparam?

584


What is the difference between a multi-layer and multi-tier applications?

575


What do you mean by caching in asp.net?

553


What is the difference between web config and machine config files?

568


What are the namespace classes used in asp.net mvc? : asp.net mvc

552


Difference between DataGid and Girdview? Difference b/w .Net 2.0, 3.0 and 3.5 ? Diff b/w dispose & Finialize Methods?

2033


What is the difference between visual basic and asp.net?

526