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

Answer Posted / tak

Generics is a new feature added and shiped with .NET 2.0
and above that solves the type safe related issues. So
using generics reduces the extra work/time between boxing
and unboxing as a result boost performance.Using
Generics ,we will be safe a run time error which will
occure due to type casting problem that we may not see at
compile time...regardless of knowing the type at design
time..

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc

810


What is active web page?

732


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

1825


Explain the difference between array and linkedlist?

721


Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.

2819


how to retrieve property settings from xml .config file.

732


How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?

837


What is .net remoting?

812


Why does my asp.net file have multiple tag with runat=server?

767


Is it possible to create web application with both webforms and mvc?

727


Can the validation occurs in server-side or client-side? If the validation occurs why should we do?

817


Describe how to implement globalization and localization in the use interface in .net.

758


We Only Know The Total Number Of Feet In The Farmyard. Write A Program that will compute the total number of rabbits and chickens in the farmyard. Assume number of feet in the farmyard are 40. how many rabbits and chickens are?

670


What are the Types of state management techniques

757


What websites use asp.net?

733