What does Dispose method do with the connection object?

Answers were Sorted based on User's Feedback



What does Dispose method do with the connection object?..

Answer / guest

Deletes it from the memory

Is This Answer Correct ?    0 Yes 0 No

What does Dispose method do with the connection object?..

Answer / hitendra

You can write a code to release all dependence object
before connection object relased.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Why to use “finally” block in c#?

0 Answers  


1. Describe page life cycle?

0 Answers   Mphasis, Steria,


What is deadly diamond problem?

0 Answers  


How does the XmlSerializer work ?

1 Answers  


What?s class SortedList underneath?

1 Answers  






What is the difference between delegates and events in c#?

0 Answers  


Can you override private virtual methods?

4 Answers  


Explain inheritance in c#?

0 Answers  


In the page load event I assigned dropdownlist’s datasource property to a valid list. On the submit button click.. The same datasource property is coming as null. Why?

0 Answers  


Can an abstract class have a constructor c#?

0 Answers  


What are static and dynamic variables?

0 Answers   CGI,


How does inheritance work in c#?

0 Answers  


Categories