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 different web pages?

0 Answers  


Write a code snippet to implement the indentation in json in web api.

0 Answers  


What benefit does your code receive if you decorate it with attributes demanding specific Security permissions?

2 Answers  


What is the sequence in which ASP.NET events are processed?

0 Answers  


Explain State management in asp.net

0 Answers   BirlaSoft,






What are the authentication types in asp.net?

0 Answers  


How do you register a .NET assembly?

3 Answers   Microsoft,


You create an ASP.NET application for a hotel. The application contains a page that displays current weather conditions for the city in which the hotel is located. The application calls an XML Web service every 10 minutes to update the current weather conditions. A new page is then displayed for subsequent requests. You want the same page to be cached and retrieved from the cache during the time between calls to the XML Web service. You decide to use a Page directive to accomplish this goal. Which Page directive should you use? A . <%@ Cache Seconds="600 '' VaryByParam="Page" %> B . <%@ OutputCache Time="600" %> C . <%@ OutputCache Duration="600" VaryByParam="None" %> D . <%@ OutputCache Duration="600" %>

2 Answers   Syntax Softtech,


Is redux flux?

0 Answers  


Describe a diffgram ? Write any one use of that?

3 Answers   Siebel,


What?s the difference between Response.Write() andResponse.Output.Write()?

2 Answers  


what is PostBack Property exactly ? when It Returns True? when it Returns False?

1 Answers  


Categories