How to force a class to be initialised?

Viewed 24675

What is the best and cleanest way to do this? Specifically, I need some code in a static initializer block to run in that class, but I'd like to make this as clean-looking as possible.

6 Answers
Related