Click here to Skip to main content
15,442,578 members

Comments by Imagiv (Top 2 by date)

Imagiv 11-Sep-16 12:18pm View    
Reason for my vote of 4 \n I would give 5, but I feel important points are missing and I'm one of those people who have a hard time with this topic lol. For instance, if you could demonstrate the lifetime of a simple object, showing what all occurs as it is created and destroyed in a timeline would be helpful. Couple things that confused me was GC.SuppressFinalize isn't explained (i.e., what exactly does it do?) and it is not clear just by reading the article which method is the finalizer. I want to guess and say it is identical to the destructor, which I know is a private method that begins with ~ character. As for the explicit boolean, is it truly necessary or is there a way to implement IDisposable without it?
Imagiv 18-Jun-16 7:28am View    
Reason for my vote of 5 \n Short, but informative. Had no idea you could use such an operator and I've been playing with C# for a while now haha.