public static void Main(string[] args)
 {
     // Register at B
     BLibClass.BEvent += MyMethod;
     // Something triggers A
     ALibClass.ATrigger();
     Console.ReadKey();
 }
Exemple #2
0
 public static void ATrigger()
 {
     ALibClass.ATrigger();
 }