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
If you define a user defined data type by using the class keyword, is it a value type or reference type?
What is the difference between finalize() and dispose()?
What is the keyword used to prevent a class from being inherited by another class?
What is generic collection in c#?
What is different about switch statements in c#?
Difference between Value type & reference types ? and give the example in .Net?
What is an object pool in .net?
What is predicate builder?
Is c# pass by reference?
What is lazy loading and eager loading in c#?
What is exe in c#?
Is predicate a functional interface?
Explain About multi level and multiple inheritance how to achieve in .net
Where’s global assembly cache located on the system?
What is the implicit name and type of the parameter that gets passed into the class set method?