Geeks With Blogs
Enterprise Architecture by Ahsan Alam 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(); ......

Posted On Thursday, January 25, 2007 1:09 PM

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.

Posted On Sunday, January 21, 2007 7:40 PM

Copyright © Ahsan Alam | Powered by: GeeksWithBlogs.net