Implementing the Singleton Pattern in C#

csharp , design patterns , singleton , patterns
This is a comment thread discussing Implementing the Singleton Pattern in C#
  • 8 years ago
    Is this pattern really advisable for asp.net applications? Because as far as I know we have to introduce a bottle neck (via various locking methods) else data gets shared among various users which could prove fatal... Whats your say? Or at least tell me a requirement where a singleton is a must and can do without application level locks.
  • 7 years ago

    Pls can some teach me programing am new here and i need help on programming or software producing.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice: Nothing works and they don't know why.”