Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 20, 2011 05:00 AM by satheesh.manian
Member
2 Points
2 Posts
Apr 20, 2011 05:00 AM|LINK
Hi nberardi,
Nice work, but i think there is some mistakes in your code.
1. Class2 is implementing 'IDispose' - i think it's 'IDisposable', right ?
2. Method - public Dispose() - is not called anywhere and also there is no return type (it may be void)
Please correct, if i am right....
Thanks,
Satheesh
satheesh.man...
Member
2 Points
2 Posts
Re: Dispose vs Finalize
Apr 20, 2011 05:00 AM|LINK
Hi nberardi,
Nice work, but i think there is some mistakes in your code.
1. Class2 is implementing 'IDispose' - i think it's 'IDisposable', right ?
2. Method - public Dispose() - is not called anywhere and also there is no return type (it may be void)
Please correct, if i am right....
Thanks,
Satheesh