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  >>  C Sharp
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
How we free the memory in C#.NET.
 Question Submitted By :: K_arunpatro
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How we free the memory in C#.NET.
Answer
# 1
by desructor or globilization
 
Is This Answer Correct ?    1 Yes 0 No
Geetanjali
 
  Re: How we free the memory in C#.NET.
Answer
# 2
Actually the freeing of the memory is done by the CLR 
automatically by calling the garbage collection routine.
But the declared objects by the user can be deallocated 
manually by using dispose function in the class by 
implementing IDisposable interface in the object class.
Otherwise it can also be done by implementing a destructor 
in the class, as the destructor defined will help 
deallocating the object allocation after the usage of the 
object gets over, i.e the object is not used anywhere else 
in the program.
 
Is This Answer Correct ?    0 Yes 0 No
Prashanth S
 
 
 

 
 
 
Other C Sharp Interview Questions
 
  Question Asked @ Answers
 
What is the Difference between directcast and ctype? Wipro1
Explain constructor? Wipro6
what is a template? Choice-Solutions2
Hello.. This is kali prasad. i wish to learn C#. kindly guide me in making me expert in c#.  2
from web.config file with connection string who to interact means who to connect in gridview. in my system shows null something error what is the problem Bally-Technologies2
what is serilization? Protech5
what r arraylist? what the use of Hashtables?  4
Example of value type and refarnce type Synechron2
Can you store multiple data types in System.Array? Satyam9
How to include c++ header files in c# components?  1
Is string reference type / value type ? Accenture7
Explain the Scope of public/private/friend/protected/protected friend. Wipro1
What is a delegate?  4
What are the two kinds of properties? Wipro10
In Main function another function is there and to that function if we pass string as parameter ,then that string value is passed by value or reference type? Honeywell3
What?s class SortedList underneath?  1
Is array reference type / value type? Accenture11
Can you allow class to be inherited, but prevent the method from being over-ridden?  1
Describe the accessibility modifier protected internal. Visual-Soft1
An abstract class is inherited, an Interface also inherited(multiple inheritance), How it differences. Synechron1
 
For more C Sharp 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