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...

can we call the garbage collector to run explicicitly?

Answer Posted / lalitprakash baraik

Yes it is possible.The Gargabe collector class is named as GC and is found in the 'System' namespace.GC is a static class and the Collect method itself is static.There fore you can directly call the Collect() method without creation of an object to access the method.

GC.Collect()

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the Core features of ASP.NET MVC?

1069


What is layout in mvc?

1025


What are the levels at which filters can be applied in an asp.net mvc application?

1136


What is ViewData and TempData in ASP.Net MVC?

1037


What are Action Methods in ASP.NET MVC?

1134


Can I use razor code in javascript in asp.net mvc?

1172


How route table is created in ASP.NET MVC?

1069


How do you specify comments using razor syntax?

1032


Can we change web.config settings from iis?

1093


What is representational state transfer (rest) mean?

988


How to Redirect Tracing to a File

1060


Can I add asp.net mvc testcases in visual studio express?

1084


Mention the core components of .net framework?

995


what is deferred loading(lazy loading)?

1035


What is partialview in asp.net mvc?

1059