Though I try to refrain from using the*singleton pattern*when possible (I prefer dependency injection over accessing “globals” that usually tend up to be not so global after all), sometimes I need to. In C# there has been a canonical singleton pattern implementation by John Skeet for a ...
More...