What is Dispose method in .NET ?

Answer Posted / manoj kumar

Dispose() method permanently removes any resource ((un)managed) from memory for cleanup and the resource no longer exists for any further processing.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a nullreferenceexception and how do I fix it?

540


What are Types of assemblies that can be created in dotnet

584


Can namespace contain the private class?

497


Explain About Global.asax

573


can you declare an override method to be static if the original method is not static?

550






What is default constructor c#?

508


What are instance fields in c#?

544


What is the difference between System.console.WriteLine() and System.console.Write() function?example?

587


How do I get deterministic finalization in c#?

610


There were a lot of questions asked, so I will list the topic (and add a what is "topic" and know pros/cons). Extreme programming, what is a transaction, various SDLC design approaches, what is a namespace, define a good test case, what is a stored proc, webservice? design patterns? linker? compiler? access modifiers? stack vs. queue? arrays vs. linked lists? sorting algorithms? recursion? OOP principles?

1588


What is the implicit name of the parameter that gets passed into the set method/property of a class?

501


Why do we use static class in c#?

499


What is difference between abstraction and encapsulation in c#?

516


Do loops c#?

505


Explain the OOPS concept in C#?

583