| What is the difference between finalize and finally methods in Csharp
Below are the definition for finalize and finally
(1)Finalize – We use Finalize for garbage collection. So before destroying any object we use finalize method for clean up activity.
(2)Finally – This method is used for executing the code irrespective of exception occurred or not. This will run in any condition. | | |