What does the dispose method do with the connection object?
Answer / Dinkar Rao
"The Dispose method in C# is used to free up resources such as memory and handles that are associated with an object. In the context of a database connection, it closes the connection, frees the connection object from memory, and releases any other allocated resources."
| Is This Answer Correct ? | 0 Yes | 0 No |
What does static mean in c sharp?
Can an abstract class inherit from another abstract class c#?
What are the generation of Garbage Collection in C# .NET ?
How does array sort work?
What is event and delegates in c#?
Is a games console a computer?
Why is it a bad idea to throw your own exceptions?
Are objects passed by reference in c#?
Explain the features of an abstract class in net.
Why is it called c sharp?
How big is a 64 bit integer?
Why we use get set 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)