Пример #1
0
 static void initializeTrigger(trigger [] myArr, int S)
 {
     for (int i = 0; i < S; i++)
     {
         myArr[i] = new trigger();
     }
 }
Пример #2
0
        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);
        }