Categories
5G Network
Agile
Amazon EC2
Android
Angular
Ansible
Arduino
Artificial Intelligence
Augmented Reality
AWS
Azure
Big Data
Blockchain
BootStrap
Cache Teachniques
Cassandra
Commercial Insurance
C#
C++
Cloud
CD
CI
Cyber Security
Data Handling
Data using R
Data Science
DBMS
Design-Pattern
DevOps
ECMAScript
Fortify
Ethical Hacking
Framework
GIT
GIT Slack
Gradle
Hadoop
HBase
HDFS
Hibernate
Hive
HTML
Image Processing
IOT
JavaScript
Java
Jenkins
Jira
JUnit
Kibana
Linux
Machine Learning
MangoDB
MVC
NGINX
Onsen UI
Oracle
PHP
Python
QTP
R Language
Regression Analysis
React JS
Robotic
Salesforce
SAP
Selenium
Service Discovery
Service Now
SOAP UI
Spark SQL
Testing
TOGAF
Research Method
Virtual Reality
Vue.js
Home
Recent Q&A
Feedback
Ask a Question
What is the difference between “finalize” and “finally” methods in C#?
Home
>
C Sharp
>
What is the difference between “finalize” and “finally” methods in C#?
Oct 18, 2019
in
C Sharp
Q: What is the difference between “finalize” and “finally” methods in C#?
finalize-c#
c#-finalize
c#-finally
finally-c#
1
Answer
0
votes
Oct 18, 2019
Finalize – This method is used for garbage collection. So before destroying an object this method is called as part of clean up activity.
Finally – This method is used for executing the code irrespective of exception occurred or not.
Click here to read more about Loan/Mortgage
Click here to read more about Insurance
Facebook
Twitter
LinkedIn
Related questions
0
votes
Q: What is the difference between “dispose” and “finalize” variables in C#?
Oct 18, 2019
in
C Sharp
dispose-c#
c#-dispose
finalize-c#
c#-finalize
0
votes
Q: Do we get error while executing “finally” block in C#?
Oct 18, 2019
in
C Sharp
finally-c#
c#-finally
0
votes
Q: Why to use “finally” block in C#?
Oct 18, 2019
in
C Sharp
finally-c#
c#-finally
0
votes
Q: What is the difference between dispose() and finalize() methods in C#?
May 6, 2020
in
C Sharp
#dispose
#finalize-method
0
votes
Q: What is the difference between finalize and finally methods in Csharp
Jan 13, 2020
in
Big Data | Hadoop
+1
vote
Q: What is the difference between finally and finalize block
Jun 25, 2019
in
Dot Net
#dotnet
#chash
#basicchash
...