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  >>  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
what is garbage collection?
 Question Submitted By :: Thirushakar
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is garbage collection?
Answer
# 1
It is use to free the memory of the object r method in use.
 
Is This Answer Correct ?    1 Yes 0 No
Thirushakar
 
  Re: what is garbage collection?
Answer
# 2
leakage memory of unused and unreferenced objects
 
Is This Answer Correct ?    0 Yes 1 No
Kvs
 
 
 
  Re: what is garbage collection?
Answer
# 3
it is clr function 
it is use to release those objext whitc is not longer useor 
no longer refeances in application 

it is System.GC.Collaction
 
Is This Answer Correct ?    1 Yes 0 No
Jiten
 
  Re: what is garbage collection?
Answer
# 4
garbage collection is the process of clearing the memory of 
unused objects, which will be taken care by CLR on 
periodical basis.
 
Is This Answer Correct ?    2 Yes 0 No
Ganni
 
  Re: what is garbage collection?
Answer
# 5
Actually the new operater is used to allocate the memory to 
an object that object not needed for longtime,so that 
objects are thrown away or release from the memory by the 
garbage collector.
 
Is This Answer Correct ?    0 Yes 0 No
Kalidoss
 
  Re: what is garbage collection?
Answer
# 6
Ofcourse, Garbage Collection is done for the memory 
utilization (making use of memory space which is allocated 
to the unused objects).
And this Garbage Collection is autometically done by the 
CLR. Still we can also implicity for the CLR to collect the 
unused memory allocated to unused objects. But that is not 
at all necessary.

When a program is loaded into memory, it is organized into 
three areas of memory, called segments: the text segment, 
stack segment, and heap segment.
So the compiled code will reside in the text segment.
the variables like string, int ect..(value types) will 
reside in stack segment.
the objects like class(reference type) will reside in the 
heap segment.
So when a new object is created the Garbage Collector will 
look unused objects and it will free them from the heap. so 
that the new object can reuse the memory allocated to the 
unused object.
 
Is This Answer Correct ?    6 Yes 0 No
Stanly Jose
 

 
 
 
Other C Sharp Interview Questions
 
  Question Asked @ Answers
 
what are the files we need to deploay a project in the system?  1
what are delegates? How you used then in your project? Kanbay9
What?s the difference between <c> and <code> XML documentation tag?  1
When you inherit a protected class-level variable, who is it available to? IBM5
How to run the program at particular time? It should run everyday at 3:00 PM. After executing the program should sleep until next day at 3:00 PM. Please explain with code? Wipro3
Difference between ByVal and ByRef? Microsoft3
What is ENUM? Wipro5
what are value types and reference types? where they are stored? Kanbay4
What are three test cases you should go through in unit testing? Wipro1
what is bubbled event ? give suitable example in code vice with demo  1
What is a pre-requisite for connection pooling?  1
What statements can enclose a "continue" statement?  3
Difference between dispose and destructor? TCS2
Describe the accessibility modifier protected internal. Visual-Soft1
What?s a multicast delegate? Visual-Soft2
Why would you use untrusted verificaion?  1
localization using windows c#  2
How can you prevent classes to be inherited? Microsoft8
What is the use of New Keyword  9
Can you override private virtual methods?  3
 
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