What is Dispose method in .NET?

Answer Posted / bhasker

The Dispose method may be called on any instance of any type implementing the IDisposable interface. This is supported by the C# using statement which makes calling Dispose automatically easy.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the Types of JIT and what is econo-JIT

1014


How do you achieve polymorphism in c#?

659


Explain the difference between directcast and ctype.

671


What is instantiating a class?

701


Is string primitive?

655


What is wcf c#?

706


Which of these statements correctly declares a two-dimensional array in c#?

835


Explain about Threading Types.

815


What is a jagged array?

691


What are the steps to make an assembly to public?

709


What framework is used for performance testing/load testing?

1693


Is c# still popular?

649


What is .net c#?

638


Can we have only “try” block without “catch” block in c#?

627


What is c-sharp (c#)?

709