What is the difference between "Decontructors" and "Constructors" c# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference between "Decontructors" and "Constructors" c#

15th Mar 2019, 12:52 AM
Thiago Jose
Thiago Jose - avatar
4 Answers
+ 2
You sure you got that right? Edit: so thats what you mean, you had constructors twice 😅 check this video out, https://youtu.be/0aKxDYTHFSo any ways i study java and it don't have destructors(or probably the finalize method is the equivalent), but from what i learn from c++ about a year back, constructors creat the object in the memory and destuctors are a special method that executes just before the program ends to delete objects you finished with or somthing, hope i got that right correct me Manual John Wells Ace
15th Mar 2019, 1:44 AM
Mind To Machine 💻🕆
Mind To Machine 💻🕆 - avatar
+ 2
Could be that he's looking for Satnam singh
15th Mar 2019, 2:22 AM
Mind To Machine 💻🕆
Mind To Machine 💻🕆 - avatar
+ 2
constructor is a special member function whose task is to initialize the objects of its class. as name destructor it is used to destruct the objects that have been created by a constructer.
17th Mar 2019, 6:12 AM
Suraj
Suraj - avatar
0
Sorry my phone has a corrector and it do this.
15th Mar 2019, 2:31 PM
Thiago Jose
Thiago Jose - avatar