Monthly Archives: March 2022

Open the application folder, Hal.

Some applications *cough ClickOnce cough cough* hide in difficult-to-find folders, with auto-generated paths that include GUIDs. Here’s an easy way to open the application folder, and also the config file. And the local application data folder, because of course you’re … Continue reading

Posted in C#, Programming | Leave a comment

Simplified switch

I commonly included this code at the end of a C# switch statement, in a misguided effort to proactively satisfy the syntax of the switch statement: switch (contentType) { case FraMES.ContentTypes.Something: do stuff for Something; break; default: throw new Exception(“FraMES.ThisMethod … Continue reading

Posted in C#, Programming | Leave a comment