Which type of variables are under the control of garbage
collector?

Answer Posted / chiyan

reference will be stored in heap memory,heap is accessible
to garbage collector

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is regex replace in c#?

614


What is the differences between datagrid, datalist and repeater in .net?

565


Explain the difference between boxing and unboxing.

630


What is scope c#?

533


What is the advantage of constructor?

563






What is a value type in c#?

585


What are the different types of constructors?

582


What is wpf c#?

564


Suppose you have already existing application with Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. With this example how can you approach migrating this application to .NET?

582


Distinguish between array and arraylist in c#?

646


What is c# in asp net?

567


what will be the output of the given below coding. using System; public class Exercise { static void OddNumbers(int a) { if (a >= 1) { Console.Write("{0}, ", a); a -= 2; OddNumbers(a); } } public static int Main() { const int Number = 9; Console.WriteLine("Odd Numbers"); OddNumbers(Number); Console.WriteLine(); return 0; } }

3514


What is a string in c#?

555


What is null character in string?

619


What operators can be used to cast from one reference type to another without the risk of throwing an exception?

596