how to use finalize()

Posted by Raj_Chennai under C# on 3/17/2012 | Points: 10 | Views : 5489 | Status : [Member] | Replies : 13
what is the use of finalize method and how to use it in c#.Give me the example

raj


Responses

Posted by: Sksamantaray on: 3/17/2012 [Member] Silver | Points: 25

Up
0
Down
Hi,
Refer to this:
http://www.devx.com/dotnet/Article/33167/1954

Thanks,
Sanjay

Raj_Chennai, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 3/19/2012 [Member] Bronze | Points: 25

Up
0
Down
http://msdn.microsoft.com/en-us/library/b1yfkh5e.aspx

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Raj_Chennai, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 3/19/2012 [Member] Bronze | Points: 25

Up
0
Down
ThE Main Use is garbage collector does not invoke finalize method.
We Calling This by---> System.GC.SuppressFinalize()
SuppressFinalize() mean not finalizing


The End of this Dispose() MEthode Will Executed

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Raj_Chennai, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: CGN007 on: 3/19/2012 [Member] Silver | Points: 25

Up
0
Down
Object.Finalize Method
http://msdn.microsoft.com/en-us/library/system.object.finalize.aspx

The importance of finalize method in .NET
http://www.dotnet-guide.com/what-is-the-importance-of-finalize-method-in-net.html

Raj_Chennai, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naraayanan on: 3/19/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,
Check this link
http://msdn.microsoft.com/en-us/library/system.object.finalize.aspx

Regards,
Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
http://abaprocker.blogspot.com/

Raj_Chennai, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Patel28rajendra on: 3/19/2012 [Member] Starter | Points: 25

Up
0
Down
hi
see this link

http://www.dotnet-guide.com/what-is-the-importance-of-finalize-method-in-net.html

R D Patel

Raj_Chennai, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Patnaik.Jyoti on: 3/19/2012 [Member] Starter | Points: 25

Up
0
Down
Hi R D Patel
I think this link has already been posted by CGN007.

Raj_Chennai, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Patel28rajendra on: 3/19/2012 [Member] Starter | Points: 25

Up
0
Down
Hi

Patnaik.Jyoti

ya but it was not enclosed with link so i didn't see it
By the way
Thanks to draw my attention to it.

R D Patel

Raj_Chennai, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 3/20/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi

Use This Link
http://msdn.microsoft.com/en-us/library/system.object.finalize.aspx

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Raj_Chennai, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: CGN007 on: 6/29/2012 [Member] Silver | Points: 25

Up
0
Down
Mark as Answer if it helpful to you,that motivates...

Raj_Chennai, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: perfectchourasia-9163 on: 7/4/2012 [Member] Starter | Points: 25

Up
0
Down
http://msdn.microsoft.com/en-us/library/zwc8s4fz(v=vs.71).aspx

ER sandeep chourasia
sandeepchrs@yahoo.com (on facebook)
http://www.aspnetcodes.com/

Raj_Chennai, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: CGN007 on: 7/31/2012 [Member] Silver | Points: 25

Up
0
Down
please mark it as answer....That helps other who search the same...

Raj_Chennai, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ranjeet_8 on: 7/31/2012 [Member] [MVP] Gold | Points: 25

Login to post response