views:

294

answers:

2

Possible Duplicate:
Singleton: How should it be used

Hi all,

I am new to .net and in programming too. I want to that what is the real time scenario when one should use singleton design pattern.

Thanks in advance,

Anant

A: 

Please take a look at this article. It contains a good introduction in the Singletons subject for C#.

Felipe Lima
A: 

When you have an object that's expensive to create, and there is logical that only one instance should exist. It will come to you :)

Geo