I'm using Visual Studio 2008, C#, and started with a simple:
Expand|Select|Wrap|Line Numbers
- public class justOne
- {
- private static justOne _justOne = null;
- public static int LocalCounter;
- private justOne() { LocalCounter = 0; }
- public justOne getJustOne()
- {
- if (_justOne == null)
- _justOne = new justOne();
- return _justOne;
- }
- }
I read http://msdn.microsoft.com/en-us/library/ff650316.aspx and tried every variation suggested, but no luck.
Okay, where did I go wrong?
Thanks in Advance! :-)