static void initializeMultiQ(multiQ [] arr, int S) { for (int i = 0; i < S; i++) { arr[i] = new multiQ(); } }
static void Main() { Console.WriteLine("Welcome!"); const int SIZE = 10; trigger[] myTrigger = new trigger[SIZE]; multiQ[] myMultiQ = new multiQ[SIZE]; initializeTrigger(myTrigger, SIZE); initializeMultiQ(myMultiQ, SIZE); testMyClasses(myTrigger, SIZE, myMultiQ, SIZE); }