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       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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
Where does the dispose method lie and how can it be used to 
clean up resources?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Where does the dispose method lie and how can it be used to clean up resources?
Answer
# 1
dispose method is in IDisposable interface,when you are 
writing any class in .Net u should inherit the IDisposable 
interface and u should implement the Dipoase method.in 
dispose method u can call teh GC.Collect() to free up the 
object.along with u can aslo call GC.SuppressFinalize() to 
avoid multiple callings of GC.
 
Is This Answer Correct ?    0 Yes 0 No
Srinivas Persineti
 

 
 
 
Other Dot Net General Interview Questions
 
  Question Asked @ Answers
 
What is the managed and unmanaged code in .net?  2
How do you pass value of a text box from page1.aspx to page2.aspx without storing it as a session value? C-Squared-Systems5
what is the difference between class and structures?  2
When developing a Windows service for .NET, which namespace do you typically look in for required classes?  1
What?s a Windows process?  1
What is different between Web User Control and Web Custom Control?  1
Which is the main Difference Between .Net 2003 and .Net 2005?  1
What is exception handling?  1
Is string a value type or a reference type?  1
What is RunTime Polymorphism? Deloitte2
How different are interface and abstract class in .Net?  2
How do you start, pause, continue or stop a Windows service off the command line?  1
What is the difference between the C#.NET and VB.NET?  4
What is a formatter? TCS1
Explain manifest & metadata. Wipro3
Can u any body send the DotNet Interview questions and answers to my mail please....... mindukuru@yahoo.com  1
How can you clean up objects holding resources from within the code? Wipro1
How will u load dynamic assembly? How will create assemblies at run time?  1
What is JIT and how is works?  1
ctype(123.34,integer) - should it throw an error? Why or why not? Wipro1
 
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