Tag Archives: Garbage collection

.Net interview questions: – Why finalize for cleanup is not preferable?

Problem with finalize is that garbage collection has to make two rounds in order to remove objects which have finalize methods. Below figure will make things clear regarding the two rounds of garbage collection rounds performed for the objects having … Continue reading

Posted in .NET and C# training, .Net Interview Questions, Csharp interview questions, programming interview questions | Tagged , , , , | Leave a comment

.NET Interview Questions: – Show LeaseTime, SponsorshipTime, RenewonCallTime and LeaseManagerPollTime?

This is a very important question from practical implementation point of view. Companies who have specific requirement for Remoting projects will expect this question to be answered. In normal .NET environment objects garbage collector manages lifetime. However, in remoting environment … Continue reading

Posted in .NET and C# training, .Net Interview Questions, Csharp interview questions, programming interview questions, RenewonCallTime, Show LeaseTime, SponsorshipTime | Tagged , , , , , , , , | Leave a comment