Singleton Design pattern?How do you achieve it?

Answer Posted / shijas

Singleton design pattern we can implement using Static key
word that means only one instance.All the instances are
coming from the same memory location.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are validator? How do you disable them?

599


What are HTTP handlers in ASP.NET?

571


Can asp.net work on an nt server?

551


What are the best practices to follow to secure connection strings in an ASP.NET web application?

552


What is a viewbag?

501






What is manifest in .net framework?

537


Which Is Faster MVC or ASP.net ?

577


Error : The operation couldn’t be performed because ole db provider sqlncli10 for linked server was unable to begin a distributed transaction.00000110 oledb provider for linked server returned message the partner transaction manager has disabled its support for remote/network transactions. I can able to execute the stored procedure in sql server but when i run the web page getting error like above. I did all the configuration. what is the solution?

1899


Define static function?

564


What is DataGrid wheater its a Server Control or something else ?

595


Which is better union or union all?

555


How is the asp.net mvc architecture different from others? : asp.net mvc

477


How do active server pages work?

546


What is odata in web api?

555


Less than one page, how many windows will you be able to maintain?

561