namespace BPASmart.SmallBatchingSystem { public class Main { private volatile static Main _Instance; public static Main GetInstance => _Instance ?? (_Instance = new Main()); private Main() { } public void Start() { } } }