when will garbage collector run?



when will garbage collector run?..

Answer / vamsi manikonda

when the object was not used it was thrown to the garbage
collector.this has to be done by CLR which behaves like a
runtime for .net like java virtual machine for java.

we can force the garbage collector to run also.

syntax:system.gc.collect();

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What are the advantages of using session?

0 Answers  


where the stored procedure are written in business logic or data acess layer?

2 Answers  


I am trying to implement sorting facility from client side code in GridView Control. So how can I fill up an Array inside client side code (using JavaScript), i want to assign my DataSet object declared and filled up on Server side(in code behind) to the array (on client side)

0 Answers   HCL,


What is the use of asp.net web api?

0 Answers  


Define Query Interface,Adref,Release?

1 Answers   Microsoft,






How do you pass session values from one page to another ?

4 Answers   Digital GlobalSoft,


I have a webform in asp.net.In that webform there is 2 division class(DIV).in one of the div class there is a text box for enter the id & a button for to check id with database value.My doubt is that how can i appear the 2nd Div contents only when the id is true with database value.if wrong do not display the div . i Want code in c#.

2 Answers  


when will garbage collector run?

1 Answers  


If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?

0 Answers   Siebel,


What does occur first in ASP.Net, Authentication or Authorization?

0 Answers   MCN Solutions,


What is event in asp.net?

0 Answers  


What is a Managed Data?

4 Answers   HCL,


Categories