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

Name the variables which are under the control of the garbage collector?



Posted By: Avi Date: 1 October 2010 11:28:31 AM
 Answer:

All the variables and objects which are under the process of the framework are under the control of Garbage collector still one thing that is Value Type instance are not under the control of Garbage Collector.


Posted By: avibtech


Date: 1 October 2010 11:28:31 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image S9Tcqv
Related Questions
C# : What is dynamic keyword?

What is dynamic keyword?

Dynamic type bypas compile-time checking of method calls, instead these operations are resolved at r....
Category: C# Date: 10/14/2010 9:27:31 AM
C# : Can you use dll created in VB.NET in C# application?

Can you use dll created in VB.NET in C# application?

Yes
Category: C# Date: 10/14/2010 9:23:47 AM
C# : Will this code compile:
class A { private static int Field; }
class B { int Method() { return A.Field;} }

Will this code compile: class A { private static int Field; } class B { int Method() { return A.Fiel....

No. Field is inaccessible due to its protection level
Category: C# Date: 10/14/2010 8:09:31 AM
C# : What will be the output of code:
int x = 0;
while(x++ <5)
{
Console.Write(x);
}

What will be the output of code: int x = 0; while(x++ <5) { Console.Write(x); }

Answer: 12345
Category: C# Date: 10/14/2010 8:06:14 AM
C# : What is the scoope of anonymous type?

What is the scoope of anonymous type?

An anonymous type has method scoope?
Category: C# Date: 10/14/2010 7:43:31 AM