Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is garbage collection?

Answers were Sorted based on User's Feedback



what is garbage collection?..

Answer / stanly jose

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 ?    8 Yes 0 No

what is garbage collection?..

Answer / ganni

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 ?    4 Yes 0 No

what is garbage collection?..

Answer / thirushakar

It is use to free the memory of the object r method in use.

Is This Answer Correct ?    3 Yes 0 No

what is garbage collection?..

Answer / kalidoss

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 ?    1 Yes 0 No

what is garbage collection?..

Answer / jiten

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 1 No

what is garbage collection?..

Answer / mahesh babu ummaneni

GARBAGE COLLECTER IS NOTHING BUT,USING GARBAGE COLLECTOR FREE THE WASTE MEMORY.GARBAGE COLLECTOR IS UNDER THE CLR.IT IS MANAGING THE MEMORY

Is This Answer Correct ?    0 Yes 0 No

what is garbage collection?..

Answer / kirti

Garbage collection is a system whereby a run-time component takes responsibility for managing the lifetime of objects and the heap memory that they occupy. This concept is not new to .NET - Java and many other languages/runtimes have used garbage collection for some time.

Is This Answer Correct ?    0 Yes 0 No

what is garbage collection?..

Answer / kvs

leakage memory of unused and unreferenced objects

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Sharp Interview Questions

How do you access a constant field declared in a class?

0 Answers  


What is attribute and reflection in c#?

0 Answers  


Define using statement in c#?

0 Answers  


Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.

0 Answers  


what is a template?

3 Answers   Choice Solutions,


Are c# references the same as c++ references?

0 Answers  


How do you escape c#?

0 Answers  


difference between managed code and unmanaged code ?

3 Answers  


How to generate strong name key file or which command is used to generated strong name key file?

0 Answers   CitiusTech,


Which property do we set on a Combo Box to display data on it prior to setting the DataSource ?

0 Answers   Siebel,


What is thread and explain states of a thread in c#?

0 Answers  


How Global.asax is used ?

0 Answers   Siebel,


Categories