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

Are arraylist faster or arrays?

1 Answers  


What is the purpose of a constructor in c#?

1 Answers  


Does C# supports multi-dimensional arrays ?

4 Answers   Microsoft,


Explain the difference between access specifier and access modifier in c#?

1 Answers  


What are the characteristics of c#?

1 Answers  


how can i return string by vilating duplicates(inpyt like asdfsda but output should be 2a2d2sf and 2a,2d,2s,f)

2 Answers   Microsoft,


What is difference between ienumerable and iqueryable in c#?

1 Answers  


Can we instantiate abstract class in c#?

1 Answers  


What is the best dependency injection c#?

1 Answers  


What is an assembly in dotnet?

1 Answers  


How can you prevent escaping on backslashes in C# with string definitions?

1 Answers   Siebel,


How to run the program at particular time? It should run everyday at 3:00 PM. After executing the program should sleep until next day at 3:00 PM. Please explain with code?

5 Answers   Sanat, Wipro,


Categories