What is the state of Garbage Collection after dispose() call
info C# code?

Answers were Sorted based on User's Feedback



What is the state of Garbage Collection after dispose() call info C# code?..

Answer / deepak

After dispose() call,the connection between front end(user
interface) and back end(database server) is broken,because
the dispose() removes the connection object from the memory.

Is This Answer Correct ?    4 Yes 2 No

What is the state of Garbage Collection after dispose() call info C# code?..

Answer / srikanth

Disapose Means simply flushing off the memory after a
perticular task is completed.

After Dispose The Stage of Garbage Collection Just Takes out
of memory it allocated.

If any mistake in my answer please intimate me

----->>>>> srikanthfanz@gmail.com

Is This Answer Correct ?    2 Yes 0 No

What is the state of Garbage Collection after dispose() call info C# code?..

Answer / chinju

if we try to cal any fields it will show error

Is This Answer Correct ?    0 Yes 6 No

What is the state of Garbage Collection after dispose() call info C# code?..

Answer / sachkalia15

Hi All

My Observation is about this question ->

It calls to GC.SurpressFinilze() on those objects which has
been called by Dispose().

I am not pretty sure about this .
Look forward from you guys very shortly :)

Sachin Kalia
9911635975

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More C Sharp Interview Questions

What are the advantages of using partial classes?

0 Answers  


Is as operator in c#?

0 Answers  


What is the difference between field and property in c#?

0 Answers  


Can an interface inherit class/abstract class.

1 Answers   Synechron,


Write a program in c# to find the angle between the hours and minutes in a clock?

0 Answers  






What is generic method in c#?

0 Answers  


Is visual c# free?

0 Answers  


How do I make a dll in c#?

0 Answers  


In howmany ways can you deploy an assembly?

0 Answers   Siebel,


Can we customize the serialization process?

0 Answers  


What is a scope in c#?

0 Answers  


give suitable code for all login controls

1 Answers  


Categories