using System; using System.Collections.Generic; namespace MemoryMadness { public class PhoneApplicationService { private static PhoneApplicationService _current = null; private Dictionary _state; private PhoneApplicationService () { _state = new Dictionary(); } public static PhoneApplicationService Current { get { if (_current == null) _current = new PhoneApplicationService(); return _current; } } public Dictionary State { get { return _state; } } } }