Hi,
So I have this static class with a couple of static functions.
This class, though, needs to be initialized first by loading some data.
Figured I could use a static boolean called init and throw an exception in each function if init is not true.
This would require me to do a check in every function.
It's doable, but is there a more efficient way to do this?
Thanks![]()




Reply With Quote