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 is strong-typing versus weak-typing?

596


Explain what does mvc represent in asp.net? : asp.net mvc

513


What is the mvc framework?

574


Tell me the code snippet to show how we can return 404 errors from HttpError?

798


Is viewstate enabled by default?

545






1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?

1798


What is a postback ispostback and autopostback in asp net?

487


What is postback request?

564


How many ways are there to maintain a state in .net? What is view state?

600


Why will you usually create an aspnet user account in the database for an asp.net web application?

546


How do you hide the columns?

597


What is repository pattern in mvc.net? : asp.net mvc

540


What is custom attribute?

577


What are Authentication and Authorization?

615


Difference between application events and session events

605