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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is gridview c#?

506


What is difference between array and collection in c#?

443


Are all methods virtual in c#?

538


What is a copy constructor in c#?

499


Explain About namespaces

579






What are satellite assemblies? How will you get the different language strings?

486


Can you change the value of a constant filed after its declaration?

524


Can I call a virtual method from a constructor/destructor?

483


Which is the base class in c#?

500


List down the different ide’s provided by microsoft for c# development.

475


What is #region in c#?

506


Why is it important to override gethashcode when equals method is overridden?

558


What is sqladapter c#?

532


My switch statement works differently! Why?

515


List some Advantages of switch-case over if else?

497