Answer Posted / chinju
yes c# support destructor.it is used to delete object
explicitly.Dispose() is used for this.if we didn't write the
destructor explicitly it will call the default destructor ie
Finalize().always destructor is executed after the execution
of name space
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why can't we use a static class instead of singleton?
What is the difference between struct and class c#?
How do you serialize in c#?
What is type keyword in c#?
What is difference between for and foreach in c#?
How many classes are there in classification?
how background thread access to ui control?
What is strongly typed view?
What is interface used in c#?
Is arraylist generic in c#?
What is the difference between class and namespace?
Are c# destructors the same as c++ destructors?
How is the syntax written to inherit from a class in C#?Give an example ?
What is difference between field and property in c#?
What is final keyword in c#?