C# Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 230 Page Views: 

How do you call garbage collection?



Posted By: Avi Date: 14 October 2010 02:14:47 AM
 Answer:

GC.Collect();


Posted By: avibtech


Date: 14 October 2010 02:14:47 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image Nt0WUd
Related Questions
C# : Explain the different types of comments in C#?

Explain the different types of comments in C#?

Following three types of comments can be used in C#: 1) Single-line Comments: Example: //..commen....
Category: C# Date: 10/28/2009 4:53:21 AM
C# : What is the syntax to inherit from a class in C#?

What is the syntax to inherit from a class in C#?

After the name of derived class, place a colon and then the name of the base class. For example: ....
Category: C# Date: 10/15/2009 4:39:26 AM
C# : How can we sort the elements of the array in descending order?

How can we sort the elements of the array in descending order?

By calling Sort() and then Reverse() methods of the Array object.
Category: C# Date: 10/15/2009 4:36:14 AM
C# : What is the difference between the System.Array.CopyTo() and System.Array.Clone()?

What is the difference between the System.Array.CopyTo() and System.Array.Clone()?

CopyTo() method copies all the elements of the current one-dimensional Array to the specified one-di....
Category: C# Date: 10/15/2009 4:33:18 AM
C# : Is it possible to store multiple data types in System.Array object?