Пример #1
0
 static void Main(string[] args)
 {
     // here you call the single instance of myClass
     myClass myClassInstance = myClass.Instance;
     // run the public someothermethod of myClass
     myClassInstance.SomeOtherMethod();
 }