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

Is mvc 4 supporting windows azure sdk (software development kit) ?

1094


What is the advantage of using asp.net routing?

1158


Explain how to use multiple submit buttons in ASP.Net MVC?

1361


Explain two instances where routing is not implemented or required?

1124


Explain peek method in tempdata in asp.net mvc?

1168


What is MVVM design pattern?

1084


How to use Jquery Plugins in ASP.Net MVC validation?

1118


What is objectcontext? : Entity framework

1158


mention what is the difference between ado.net and classic ado?

1165


What is an asynchronous controller in asp.net mvc?

1110


How do I install .net framework?

1019


Which version of the common language runtime (clr) does the .net framework 3.0 use?

1140


What is ViewData and TempData in ASP.Net MVC?

1080


What is representational state transfer (rest) mean?

1046


What are the new enhancements done in default project template of asp.net mvc 4?

1085