static void jediCouncilTest() { Console.WriteLine("\n3. Feladat: "); JediCouncil council = new JediCouncil(); //A MessageReceived metódus beregisztrálása a CouncilChanging eseményre council.valtozas += MessageReceived; dzsedikInicializálása(council); council.Torles(); council.Torles(); council.Torles(); council.Torles(); //A MessageReceived metódus leiratkoztatása a CouncilChanging eseményre council.valtozas -= MessageReceived; }