What is the state of Garbage Collection after dispose() call
info C# code?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is extended method in c#
What do you use c# for?
Is c# and c same?
Differentiate between static class and singleton instance?
What is the difference between protected and protected internal?
What are cookies in c#?
Difference between a sub and a function in c#.
What is console based application?
What does assert() do?
Is it possible to add two 50 digit numbers in .net? If yes what is the code snippet?
2 Answers Cognizant, W3 Solutions, Zefer,
What are Custom Control and User Control?
There are a class A. Another class B derived from it. Now if I do A a = new B(); and B b = new B(); What will happen in both the statements. And what is the difference between these two statements.
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)