What are generics? why it is used?
architecture of ASP.NET?

Answer Posted / sachin

Generic is special kind of data type.
which can be resolve at a runtime.

means u can have function add(<T>val,<T>val)
where u can pass any type datatype.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write some code using interfaces, virtual methods, and an abstract class`

1587


What is the difference between page.registerclientscriptblock and page.registerstartupscript?

488


Can you change a Master Page dynamically at runtime?

583


How does session work?

512


What is the good practice to implement validations in aspx page?

640






code for "For every 5days system has to create 1text file with the corresponding date and it has to store in c-drive" by using web applications

1416


Explain how can you debug your .net application?

541


Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc

533


What are different methods of session maintenance in asp.net?

567


What is asp.net introduction?

528


What is the maximum timeout we can set for Cookies?

553


Explain the difference between or and orelse?

543


Which class is used to send an email message from an ASP.NET Web page?

548


Mention few asp.net validators.

580


Why mvc is better than asp.net? : Asp.Net MVC

473