0

how we can free up some sources???

the C# has garbage collector itself!!! and cleans useless variables and ....

6th Jul 2016, 8:42 AM
Ali Rahmani fard
Ali Rahmani fard - avatar
2 ответов
0
when your application encapsulates unmanaged resources such as windows, files, and network connections, you should use destructors to free those resources. When the object is eligible for destruction, the garbage collector runs the Finalize method of the object
29th Jul 2016, 5:48 PM
LizzyVillafranca
LizzyVillafranca - avatar
0
I guess we do not need to do that in C#. The destructor of every object is called automatically after the executing of a program and release any used resources.
18th Jan 2017, 3:30 PM
Ling Jiang
Ling Jiang - avatar