What does Dispose method do with the connection object?

Answer Posted / karna

Dispose(),is programatically called by the user to
de-allocate the un-used objects in the aplication.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you have more than one namespace in c#?

499


Why we use oops in c#?

546


What is the data encapsulation?

487


What are the different types of comments in c#?

495


Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?

522






What is interface c#?

464


Which is the base class in c#?

502


What are cookies in c#?

548


What are strongly typed objects?

486


What is the advantage of dependency injection?

508


Can we make a class private in c#?

504


What is the difference between // comments, /* */ comments and /// comments?

504


Explain the use of SN.exe

597


What is difference between throw and throws in c#?

454


What is reflection c#?

472