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 |
Explain how obfuscator works in .net
how to return morethan one value using out parameter in c#.net ; For Example : public int show(out int []a) { int []a={1,2,3,4,5}; return a[]; } we have to print all the values without using the Console.WriteLine statement;
What is the difference between dispose() and finalize() methods in c#?
Which collection will you use to store different types of objects collection like... int, employee, student, object etc.
Is c# and .net same?
Why do we use struct in c#?
What is difference between dictionary and hashtable?
Can I fly with a loop recorder?
What is c# most used for?
What is iformatprovider in c#?
Asha buys 16 Chocolates for rs 12 and 24 chocolates for rs 20, if she sold them 30 chocolates for rs 30 then what is the Gain/Loss percentage? Gain(700/19 %) Loss(700/19 %) Gain(500/19 %) Loss(500/19 %) If one person ate 100 grapes in 5 days and 6 more each day from starting, what was the no of grapes he ate on first day? 6 8 10 7 If seven men P, Q, R, S, T, U, V parked his car, P and Q something like that. 6 student J, K, L, M, N, O went for picnic in 2 batches, K and L have to go together, M and O do't go together, if O and L go in one batch then which of these combination will be wrong. Jmnp Jklo klop JKLO a boat can go upstream and down stream, if it goes 5/2 times of downstream at the speed of 6 kmph then what will be the speed of upstream? 15 KMPH 12 KMPH 10 KMPH 11 KMPH A, B, C, D, E sitting on a table, A sits 2 seat left from B and C sits 2 seat right from B then what will not be the combination ACDE
What is indexers in C#
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)