Singleton Object Creation? is below code is correct?

Posted by Naga116 under ASP.NET on 7/31/2011 | Points: 10 | Views : 1082 | Status : [Member] | Replies : 1
Interviewer asked create a singleton Object to A Class. How to create a singleton Object to Class A. Please provide...
A
{
//Some code
}

B:A
{
//code
}

C:B
{
// do some code
}

Nagaraju


Responses

Posted by: SheoNarayan on: 7/31/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Hi Naga..

Please read this http://www.dotnetfunda.com/articles/article69.aspx to understand the Singleton pattern.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Naga116, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response