January 2007 Entries

Singleton - Traditional way vs. .NET way

Whenever we want to implement a Singleton Pattern, we can always find examples by picking up a book on Design Patterns or by searching through the internet. Most of these implementations are very similar, and have been in use for some time. I have shown one such implementation that is traditionally being practiced in a multi-threaded environment. Singleton the Traditional way: public sealed class Singleton{ private static volatile Singleton instance = null; private static object syncRoot = new Object();...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Haven't blogged in a while

It's been a while since I've blogged. I've just been so busy. I'm planning to rant about a few things soon
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati