Explain Generics?



Explain Generics?..

Answer / n.v.s. prasad

i)Generics does not require boxing and unboxing while
inserting and retrieving elements.
ii)By Performane wise Generics were fast
iii)Generics are type safety.

Is This Answer Correct ?    8 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

You are using the try? catch block seen in the following code segment, but no exceptions are ever caught by the catch block. What is the problem? SqlConnection cn =new sqlConnection(strSQL); SqlDataSet ds; try { cn.open(); //perform the data processing steps ??.. } catch (OleDbException e) { ?.. } a) The exception class is wrong; it should be sqlErrors. b) The exception class is wrong; it should be sqlSyntaxExceptios. c) The exception class is wrong; it should be sqlExceptions. d) The exception class is wrong; it should be sqlExcptions.

2 Answers   Microsoft, Syntax Softtech,


What is syntax code to send email from an asp.net application?

0 Answers  


Differentiate between structure and class.

0 Answers  


If you have to replicate a set of controls(UI) across a number of web pages, what will you do

1 Answers  


what is view stat? how it is use.

3 Answers   TCS,






Explain different types of validators in asp.net?

0 Answers  


What is use of Master Page in ASP.NET web pages?

0 Answers   Sans Pareil IT Services,


Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?

0 Answers   DELL,


In asp.net, how can you validate drop down box?

0 Answers   Accenture,


cr8 2 datatables into one dataset DYNAMICALLY (no backend database used like sql,etc.,) with following columns 1st datatable with columns studentNo studentName Deptno 2nd datatable with columns Deptno DeptName DeptAddress add data to both the tables Dynamically and merge these tables into one table and display it in Grid view as studentNo studentName Deptno DeptName DeptAddress

1 Answers   SQL Star,


Can you explain the importance of finalize method in .net?

0 Answers  


How many types of cache are there?

0 Answers  


Categories