C# Beginners Tutorial - 198 - IDisposable pt 2

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Thankss, You are best teacher C# in youtube
i love this channel

rizqyraditya
Автор

@MisterJ4512 I'm pretty sure it is. MSDN says "destructors" and when I search "deconstructors" it gives me results for destructors.

lindsayslorach
Автор

Thanks a lot for this. Im still a little bit confused though - so if I dont have a destructor in my class, do I still need to SuppressFinalize? (And why would I make a destructor at all with a class that wouldnt use it?)
Ive also seen people using the public Dispose only, is that not a recommended way of doing it? or is it because theyd know that wouldnt inherit from that class or anything like that?

frilansspion
Автор

"Deconstructor, " isn't it just "destructor"?

lindsayslorach
Автор

wow how the hell now i can program at C# Thanks

TheJennetteFan