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 are winforms in c#?
What is private readonly in c#?
Explain manifest & metadata?
What is the difference between field and variable in c#?
What is a strong name in c#?
What is hashtable in c# with example?
Why do we need indexer in c#?
How does the XmlSerializer work ?
Explain ACID rule of thumb for transactions.
What is the interface in c#?
What?s the C# equivalent of C++ catch (?), which was a catch-all statement for any possible exception?
Explain About stateless and state full web service
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)