Here is a hosting extension that I use often. It is an extension method that allows me to write a super quick console application like this: class Program { static…
Sometimes I need to prevent multiple instances of an application from running at the same time. Before .NET came along, I just dropped the code for that into the application…