DEV Community

Discussion on: Who am I? Me, the name of the currently executing method in C# (Part 2)

Collapse
 
katnel20 profile image
Katie Nelson

I looked at that CodeProject article as you suggested. It's very detailed and will take me some time to fully digest. The Microsoft doc seems to be a little more precise. I'm just surprised that to use Dispose correctly, you have to keep track it's usage with your own flag. Seems like old school programming. Whenever I use flags in my stuff, our coding advisor always makes a face!

Thanks again for the information. I'll be sure to use it.