static void Main(string[] args) { var instance = Instantiator.Instantiate(); Referent.Refer(instance); Console.ReadLine(); }
static void Main(string[] args) { Instance.Instantiate(); Referent.Refer(Instance.GetInstance()); Console.ReadLine(); }