ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Dot Net  >>  Dot Net General
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions
 Dot Net General interview questions  Dot Net General Interview Questions
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions
Question
What are Generics? Where do we use them.
 Question Submitted By :: Srikanth
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What are Generics? Where do we use them.
Answer
# 1
Generics are used to have Typed Arrays.

Ex: if we have define that an array is confined to products.
if we push objects of product into array it accepts.
if we push employee objects into this array it will show
error . since the type of the array is product.
 
Is This Answer Correct ?    4 Yes 1 No
Rakesh Kumar Kunchala
 
  Re: What are Generics? Where do we use them.
Answer
# 2
Generics was introduced in Framework 2.0
With generics we can have typed classes. While defining 
class we simply give placeholders and when we create 
objects of that class we declare the placeholder to be of 
some type(like int, double, string, etc.) and from that 
point on our object gets bind to that type only.
 
Is This Answer Correct ?    0 Yes 0 No
Ritz
 
 
 

 
 
 
Other Dot Net General Interview Questions
 
  Question Asked @ Answers
 
Difference between Panel and GroupBox classes?  2
What is Global Assembly Cache (GAC) and what is the Purpose of it?  1
What is Assembly? Wipro1
When developing a Windows service for .NET, which namespace do you typically look in for required classes?  1
What is a delegate, How many types of delegates?  1
How .NET is able to support multiple languages?  3
What is the difference between VB and VB.NET?  1
How do you define the lease of the object?  1
What is the use of edititem template ingridview? C-Squared-Systems1
What is a resource? Provide an example from your recent project. Wipro1
How is development of a Windows service different from a Windows Forms application?  1
what is a strong name?  3
Can we Classic ASP,.Net 1.0, .Net 1.x and .Net 2.0 installed on the same system? Value-Labs1
I am looking for a fast track course (MAX 15 days) in MS.NET 3.5 and SQLSERVER 2005 in hyderabad or mumbai or pune. I am working in mumbai so cannot gor for long course. Can any body suggest me the best couching class or best faculty for the same. Thanks.  2
What is an Interface? Have you ever developed an Interface. Deloitte5
Resource Files: How to use the resource files, how to know which language to use?  1
How will you register com+ services?  1
What are channels in .NET Remoting?  2
What?s a proxy of the server object in .NET Remoting?  1
How do you handle Start, Pause, Continue and Stop calls from SCM within your application?  1
 
For more Dot Net General Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com