what is the difference between finally and dispose methods?
Answer Posted / sunil
finally will execute after the try block. It must execute
if there is any exception caught in the catch blobk or not.
Dispose method is the last method executed in the c# program
Is This Answer Correct ? | 12 Yes | 16 No |
Post New Answer View All Answers
What is lazy loading and eager loading in c#?
What issues can be faced while delivering code?
What is the max value of int32 in c#?
What does typeof return c#?
Explain how to implement an object pool in c#.net
Is c# or c++ better for games?
How to properly clean up excel interop objects?
Explain About disco and uddi
List some of the common data providers for ado.net framework?
What is serialization in c#?
What is the difference between add and addrange in c#?
In a C# class we have a SortedList member m_addinProjects
we want to provide an iterator to allow the consumer of
this class access to the items in the collection. Please
provide an iterator method for the AnalyzeAddinsDLL class
below and an example of how it would be used.
namespace AnalyzeAddinsDLL
{
public class AllAddInProjects
{
private SortedList
Explain boxing and unboxing in c#?
What is a decimal c#?
What does == mean in c sharp?