how the destructor invoked? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how the destructor invoked?

how the destructor invoked?

17th Jun 2016, 5:01 AM
Michael Aries Malaca
Michael Aries Malaca - avatar
2 Answers
+ 2
in c# memory management is automatically
19th Jun 2016, 6:18 PM
Riddhi Sankaliya
Riddhi Sankaliya - avatar
+ 1
By default in function call stack it will be present before the main() function.So it will be be invoked automatically.
23rd Jun 2016, 7:11 PM
rohith chittamuru
rohith chittamuru - avatar