Hi guys,
I am wondering if it is possible to have a static class instantiate another class for the purpose of holding a reference to it globally. I have a data store which is composed of an in-memory object and would like to access it from different locations. The data needs to persist changes to the application so it needs to be instantiated outside of window or UI scope.
I was hoping that using a static class to do this would be the correct way of doing it. Is this what a singleton is? Is what I am looking for possible?